summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_h1proto.c')
-rw-r--r--src/nxt_h1proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index 4e1b22e9..b5b5d6e6 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -563,6 +563,8 @@ nxt_h1p_conn_request_header_parse(nxt_task_t *task, void *obj, void *data)
error:
+ h1p->keepalive = 0;
+
nxt_http_request_error(task, r, status);
}