diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2017-02-08 19:35:31 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-02-08 19:35:31 +0300 |
| commit | 31a0cab931d78b3169fe2c6e1260660ec5106940 (patch) | |
| tree | 87822b2ea6c4a94f6c84a4b2324d705e7735d4d5 | |
| parent | 9af7dc2b44acb388f27e492ddc82116d082d02ab (diff) | |
| download | nginx-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.c | 2 |
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; } |
