Allow all comparisons for $SERVER["socket"] - only bind for "=="
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2590 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.24
parent
099d37ef75
commit
8a24665a81
1
NEWS
1
NEWS
|
@ -23,6 +23,7 @@ NEWS
|
|||
* Allow digits in hostnames in more places (fixes #1148)
|
||||
* Use connection_reset instead of handle_request_done for cleanup callbacks
|
||||
* Change mod_expire to append Cache-Control instead of overwriting it (fixes #1197)
|
||||
* Allow all comparisons for $SERVER["socket"] - only bind for "=="
|
||||
|
||||
- 1.4.23 - 2009-06-19
|
||||
* Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
|
||||
|
|
|
@ -572,11 +572,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 */
|
||||
|
|
Loading…
Reference in New Issue