Proxy: better error message about unexpected data.

Requested by Igor Sysoev.
This commit is contained in:
Maxim Dounin 2012-12-13 13:45:39 +00:00
parent eb90e8a5a5
commit 44453d3c2f

View file

@ -1614,7 +1614,8 @@ ngx_http_proxy_copy_filter(ngx_event_pipe_t *p, ngx_buf_t *buf)
p->upstream_done = 1; p->upstream_done = 1;
ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, 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; return NGX_OK;