Mercurial > hg > nginx
diff src/core/ngx_connection.c @ 7139:b56ddcce7513 stable-1.12
Core: fixed error message on setsockopt(SO_REUSEPORT) failure.
The error is fatal when configuring a new socket, so the ", ignored" part
is not appropriate and was removed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 11 Jul 2017 20:06:52 +0300 |
parents | 05bd1baabf87 |
children | 83600ce25995 |
line wrap: on
line diff
--- a/src/core/ngx_connection.c Tue Jul 11 19:59:56 2017 +0300 +++ b/src/core/ngx_connection.c Tue Jul 11 20:06:52 2017 +0300 @@ -483,7 +483,7 @@ == -1) { ngx_log_error(NGX_LOG_EMERG, log, ngx_socket_errno, - "setsockopt(SO_REUSEPORT) %V failed, ignored", + "setsockopt(SO_REUSEPORT) %V failed", &ls[i].addr_text); if (ngx_close_socket(s) == -1) {