[nginx] svn commit: r4963 - trunk/src/http/modules

mdounin at mdounin.ru mdounin at mdounin.ru
Thu Dec 13 13:45:39 UTC 2012


Author: mdounin
Date: 2012-12-13 13:45:39 +0000 (Thu, 13 Dec 2012)
New Revision: 4963
URL: http://trac.nginx.org/nginx/changeset/4963/nginx

Log:
Proxy: better error message about unexpected data.

Requested by Igor Sysoev.


Modified:
   trunk/src/http/modules/ngx_http_proxy_module.c

Modified: trunk/src/http/modules/ngx_http_proxy_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_proxy_module.c	2012-12-12 14:48:48 UTC (rev 4962)
+++ trunk/src/http/modules/ngx_http_proxy_module.c	2012-12-13 13:45:39 UTC (rev 4963)
@@ -1614,7 +1614,8 @@
         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;



More information about the nginx-devel mailing list