mirror of
https://github.com/nginx/nginx.git
synced 2025-07-31 18:46:15 +08:00
Merge of r4963: proxy: better error message about unexpected data.
Requested by Igor Sysoev.
This commit is contained in:
parent
4b78ff952f
commit
1e0ed6da52
@ -1610,7 +1610,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;
|
||||||
|
Loading…
Reference in New Issue
Block a user