summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-05-30 18:46:05 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-05-30 18:46:05 +0300
commitff6ca2a82c956807e28bb290efa70e791e1f8f8d (patch)
tree06ac66b0e5c8382d79b203fdf4d717b75f188160 /src/nxt_http.h
parente54fb892a44705c5d6f81e0351070e368a6b38f1 (diff)
downloadunit-ff6ca2a82c956807e28bb290efa70e791e1f8f8d.tar.gz
unit-ff6ca2a82c956807e28bb290efa70e791e1f8f8d.tar.bz2
Fixed keep-alive hanging after reconfiguration.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index 57abb8e0..57c624d7 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -101,7 +101,7 @@ typedef struct {
struct nxt_http_request_s {
nxt_http_proto_t proto;
- nxt_socket_conf_t *socket_conf;
+ nxt_socket_conf_joint_t *conf;
nxt_mp_t *mem_pool;
@@ -153,7 +153,7 @@ typedef nxt_off_t (*nxt_http_proto_body_bytes_sent_t)(nxt_task_t *task,
typedef void (*nxt_http_proto_discard_t)(nxt_task_t *task,
nxt_http_request_t *r, nxt_buf_t *last);
typedef void (*nxt_http_proto_close_t)(nxt_task_t *task,
- nxt_http_proto_t proto);
+ nxt_http_proto_t proto, nxt_socket_conf_joint_t *joint);
nxt_int_t nxt_http_init(nxt_task_t *task, nxt_runtime_t *rt);
@@ -184,7 +184,6 @@ nxt_int_t nxt_http_request_content_length(void *ctx, nxt_http_field_t *field,
extern nxt_lvlhsh_t nxt_response_fields_hash;
-extern const nxt_conn_state_t nxt_router_conn_close_state;
extern const nxt_http_proto_body_read_t nxt_http_proto_body_read[];
extern const nxt_http_proto_local_addr_t nxt_http_proto_local_addr[];