From 44453d3c2f4a92156d26d565a8646d0a66455966 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 13 Dec 2012 13:45:39 +0000 Subject: [PATCH] Proxy: better error message about unexpected data. Requested by Igor Sysoev. --- src/http/modules/ngx_http_proxy_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 541c59fd9..12a54c734 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -1614,7 +1614,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;