# HG changeset patch # User Maxim Dounin # Date 1499792812 -10800 # Node ID c0d89f602d08a2fe67d9d3c465d315ac3c67f307 # Parent ecb5cd305b06bce96ccadb863f14bf955091d28a 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. diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -483,7 +483,7 @@ ngx_open_listening_sockets(ngx_cycle_t * == -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) {