Initial proxy support.

This commit is contained in:
Igor Sysoev
2019-11-14 16:39:54 +03:00
parent 57e326b411
commit ddde9c23cf
16 changed files with 1264 additions and 44 deletions

View File

@@ -272,7 +272,7 @@ nxt_http_static_handler(nxt_task_t *task, nxt_http_request_t *r,
body_handler = NULL;
}
nxt_http_request_header_send(task, r, body_handler);
nxt_http_request_header_send(task, r, body_handler, NULL);
r->state = &nxt_http_static_send_state;
return NULL;