diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_request.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index 3c763dd0..7ba2dfd5 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -523,6 +523,8 @@ nxt_http_request_error_handler(nxt_task_t *task, void *obj, void *data) nxt_debug(task, "http request error handler"); + r->error = 1; + if (proto.any != NULL) { nxt_http_proto_discard[r->protocol](task, r, nxt_http_buf_last(r)); } |