mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 06:53:10 +00:00
Proxy: better error message about unexpected data.
Requested by Igor Sysoev.
This commit is contained in:
parent
1a6ed2e3b1
commit
b3430993f1
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue