diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/network.c | 6 |
2 files changed, 2 insertions, 5 deletions
@@ -135,6 +135,7 @@ NEWS * Report non-fatal ssl errors as "connection close" * Add '%_' pattern for complete hostname in mod_evhost (fixes #1737) * Allow digits in hostnames in more places (fixes #1148) + * Allow all comparisons for $SERVER["socket"] - only bind for "==" - 1.5.0-r19.. - * -F option added for spawn-fcgi diff --git a/src/network.c b/src/network.c index c6521bc3..72fb0359 100644 --- a/src/network.c +++ b/src/network.c @@ -670,11 +670,7 @@ int network_init(server *srv) { /* not our stage */ if (COMP_SERVER_SOCKET != dc->comp) continue; - if (dc->cond != CONFIG_COND_EQ) { - log_error_write(srv, __FILE__, __LINE__, "s", "only == is allowed for $SERVER[\"socket\"]."); - - return -1; - } + if (dc->cond != CONFIG_COND_EQ) continue; /* check if we already know this socket, * if yes, don't init it */ |