summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_request.c')
-rw-r--r--src/nxt_http_request.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index e532baff..3bcf3d94 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -626,8 +626,7 @@ nxt_http_request_read_body(nxt_task_t *task, nxt_http_request_t *r)
void
-nxt_http_request_header_send(nxt_task_t *task, nxt_http_request_t *r,
- nxt_work_handler_t body_handler, void *data)
+nxt_http_request_header_send(nxt_task_t *task, nxt_http_request_t *r)
{
u_char *p, *end, *server_string;
nxt_int_t ret;
@@ -700,7 +699,7 @@ nxt_http_request_header_send(nxt_task_t *task, nxt_http_request_t *r,
}
if (nxt_fast_path(r->proto.any != NULL)) {
- nxt_http_proto[r->protocol].header_send(task, r, body_handler, data);
+ nxt_http_proto[r->protocol].header_send(task, r);
}
return;