mirror of
https://github.com/nginx/nginx.git
synced 2025-01-24 07:06:35 -06:00
Tweaked error messages.
This commit is contained in:
parent
344f4fb74c
commit
6e86fb02d6
@ -999,7 +999,7 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r,
|
|||||||
|
|
||||||
if (!u->cacheable && u->peer.connection) {
|
if (!u->cacheable && u->peer.connection) {
|
||||||
ngx_log_error(NGX_LOG_INFO, ev->log, ev->kq_errno,
|
ngx_log_error(NGX_LOG_INFO, ev->log, ev->kq_errno,
|
||||||
"kevent() reported that client closed prematurely "
|
"kevent() reported that client prematurely closed "
|
||||||
"connection, so upstream connection is closed too");
|
"connection, so upstream connection is closed too");
|
||||||
ngx_http_upstream_finalize_request(r, u,
|
ngx_http_upstream_finalize_request(r, u,
|
||||||
NGX_HTTP_CLIENT_CLOSED_REQUEST);
|
NGX_HTTP_CLIENT_CLOSED_REQUEST);
|
||||||
@ -1007,8 +1007,8 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_error(NGX_LOG_INFO, ev->log, ev->kq_errno,
|
ngx_log_error(NGX_LOG_INFO, ev->log, ev->kq_errno,
|
||||||
"kevent() reported that client closed "
|
"kevent() reported that client prematurely closed "
|
||||||
"prematurely connection");
|
"connection");
|
||||||
|
|
||||||
if (u->peer.connection == NULL) {
|
if (u->peer.connection == NULL) {
|
||||||
ngx_http_upstream_finalize_request(r, u,
|
ngx_http_upstream_finalize_request(r, u,
|
||||||
@ -1062,7 +1062,7 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r,
|
|||||||
|
|
||||||
if (!u->cacheable && u->peer.connection) {
|
if (!u->cacheable && u->peer.connection) {
|
||||||
ngx_log_error(NGX_LOG_INFO, ev->log, err,
|
ngx_log_error(NGX_LOG_INFO, ev->log, err,
|
||||||
"client closed prematurely connection, "
|
"client prematurely closed connection, "
|
||||||
"so upstream connection is closed too");
|
"so upstream connection is closed too");
|
||||||
ngx_http_upstream_finalize_request(r, u,
|
ngx_http_upstream_finalize_request(r, u,
|
||||||
NGX_HTTP_CLIENT_CLOSED_REQUEST);
|
NGX_HTTP_CLIENT_CLOSED_REQUEST);
|
||||||
@ -1070,7 +1070,7 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngx_log_error(NGX_LOG_INFO, ev->log, err,
|
ngx_log_error(NGX_LOG_INFO, ev->log, err,
|
||||||
"client closed prematurely connection");
|
"client prematurely closed connection");
|
||||||
|
|
||||||
if (u->peer.connection == NULL) {
|
if (u->peer.connection == NULL) {
|
||||||
ngx_http_upstream_finalize_request(r, u,
|
ngx_http_upstream_finalize_request(r, u,
|
||||||
|
Loading…
Reference in New Issue
Block a user