Latest update - 9147
This commit is contained in:
@@ -1583,6 +1583,10 @@ ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (err == NGX_EMSGSIZE && c->log_error == NGX_ERROR_IGNORE_EMSGSIZE) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (err == 0
|
||||
|| err == NGX_ECONNRESET
|
||||
#if (NGX_WIN32)
|
||||
@@ -1600,6 +1604,7 @@ ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text)
|
||||
{
|
||||
switch (c->log_error) {
|
||||
|
||||
case NGX_ERROR_IGNORE_EMSGSIZE:
|
||||
case NGX_ERROR_IGNORE_EINVAL:
|
||||
case NGX_ERROR_IGNORE_ECONNRESET:
|
||||
case NGX_ERROR_INFO:
|
||||
|
||||
@@ -97,7 +97,8 @@ typedef enum {
|
||||
NGX_ERROR_ERR,
|
||||
NGX_ERROR_INFO,
|
||||
NGX_ERROR_IGNORE_ECONNRESET,
|
||||
NGX_ERROR_IGNORE_EINVAL
|
||||
NGX_ERROR_IGNORE_EINVAL,
|
||||
NGX_ERROR_IGNORE_EMSGSIZE
|
||||
} ngx_connection_log_error_e;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user