mirror of
https://github.com/fluencelabs/redis
synced 2025-05-13 19:21:18 +00:00
Clarify the "Creating Server TCP listening socket" error.
This really helps spot it in the logs, otherwise it does not look like a warning/error. For example: Creating Server TCP listening socket ::1:6379: bind: Cannot assign requested address ... is not nearly as clear as: Could not create server TCP listening listening socket ::1:6379: bind: Cannot assign requested address
This commit is contained in:
parent
fefe546068
commit
bc53a3abb9
@ -1958,7 +1958,7 @@ int listenToPort(int port, int *fds, int *count) {
|
|||||||
}
|
}
|
||||||
if (fds[*count] == ANET_ERR) {
|
if (fds[*count] == ANET_ERR) {
|
||||||
serverLog(LL_WARNING,
|
serverLog(LL_WARNING,
|
||||||
"Creating Server TCP listening socket %s:%d: %s",
|
"Could not create server TCP listening socket %s:%d: %s",
|
||||||
server.bindaddr[j] ? server.bindaddr[j] : "*",
|
server.bindaddr[j] ? server.bindaddr[j] : "*",
|
||||||
port, server.neterr);
|
port, server.neterr);
|
||||||
if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT ||
|
if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user