diff src/http/ngx_http_request_body.c @ 6903:92e771de7d89

Request body: c->error on "100 Continue" errors (ticket #1194).
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 08 Feb 2017 19:35:31 +0300
parents 9d66d7ed2abb
children 5e2423bce883
line wrap: on
line diff
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -835,6 +835,8 @@ ngx_http_test_expect(ngx_http_request_t 
 
     /* we assume that such small packet should be send successfully */
 
+    r->connection->error = 1;
+
     return NGX_ERROR;
 }