]> git.kaiwu.me - nginx.git/commitdiff
Request body: c->error on "100 Continue" errors (ticket #1194).
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 8 Feb 2017 16:35:31 +0000 (19:35 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 8 Feb 2017 16:35:31 +0000 (19:35 +0300)
src/http/ngx_http_request_body.c

index 0641329c532e063b72f015186af54de5f9f2078c..d84dbf8291c6edbfbf4d6005029925021b459d86 100644 (file)
@@ -835,6 +835,8 @@ ngx_http_test_expect(ngx_http_request_t *r)
 
     /* we assume that such small packet should be send successfully */
 
+    r->connection->error = 1;
+
     return NGX_ERROR;
 }