summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2017-02-08 19:35:31 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2017-02-08 19:35:31 +0300
commit31a0cab931d78b3169fe2c6e1260660ec5106940 (patch)
tree87822b2ea6c4a94f6c84a4b2324d705e7735d4d5
parent9af7dc2b44acb388f27e492ddc82116d082d02ab (diff)
downloadnginx-31a0cab931d78b3169fe2c6e1260660ec5106940.tar.gz
nginx-31a0cab931d78b3169fe2c6e1260660ec5106940.tar.bz2
Request body: c->error on "100 Continue" errors (ticket #1194).
-rw-r--r--src/http/ngx_http_request_body.c2
1 files changed, 2 insertions, 0 deletions
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;
}