From: Maxim Dounin Date: Wed, 8 Feb 2017 16:35:31 +0000 (+0300) Subject: Request body: c->error on "100 Continue" errors (ticket #1194). X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=31a0cab931d78b3169fe2c6e1260660ec5106940;p=nginx.git Request body: c->error on "100 Continue" errors (ticket #1194). --- diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 0641329c5..d84dbf829 100644 --- 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 *r) /* we assume that such small packet should be send successfully */ + r->connection->error = 1; + return NGX_ERROR; }