summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_static.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
commitddde9c23cf302309d85ccc24b35075ce94da89a0 (patch)
tree2bf729e8f0315cd4c775be572c0f01688d11bf03 /src/nxt_http_static.c
parent57e326b4119863f737d8677adc69dc53c7e4ed27 (diff)
downloadunit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.gz
unit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.bz2
Initial proxy support.
Diffstat (limited to 'src/nxt_http_static.c')
-rw-r--r--src/nxt_http_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c
index ba5e9160..44132859 100644
--- a/src/nxt_http_static.c
+++ b/src/nxt_http_static.c
@@ -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;