changeset 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 5cb85b0ee00b
children 5e2423bce883
files src/http/ngx_http_request_body.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;
 }