diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-10 03:22:58 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-02-10 03:22:58 +0000 |
commit | 1e0ed6da525a1f8e1440560fdf15940a2fa2df37 (patch) | |
tree | 2db07d5b4975d56e7d76d84e95d19c7c102475c0 | |
parent | 4b78ff952f8c7742429430c640130b8ad95e4c3b (diff) | |
download | nginx-1e0ed6da525a1f8e1440560fdf15940a2fa2df37.tar.gz |
Merge of r4963: proxy: better error message about unexpected data.
Requested by Igor Sysoev.
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 6fc2ac360..455f27aec 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -1610,7 +1610,8 @@ ngx_http_proxy_copy_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) p->upstream_done = 1; ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, - "upstream sent too much data"); + "upstream sent more data than specified in " + "\"Content-Length\" header"); } return NGX_OK; |