]> git.kaiwu.me - nginx.git/commitdiff
Merge of r4963: proxy: better error message about unexpected data.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:22:58 +0000 (03:22 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:22:58 +0000 (03:22 +0000)
Requested by Igor Sysoev.

src/http/modules/ngx_http_proxy_module.c

index 6fc2ac36043de389b66a794dcc9ee9e4bea2a09b..455f27aec6bc91a09b9057857ab6b073e4d29caa 100644 (file)
@@ -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;