# HG changeset patch # User Maxim Dounin # Date 1486571731 -10800 # Node ID 92e771de7d89564074c1b91cb373fad2be30c513 # Parent 5cb85b0ee00b84d6d4eb5fbeeaed468fe5431bf3 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 --- 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; }