From 305a9d83cfba0d0330bd12af4ca56943b10e958e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 26 Dec 2005 17:07:48 +0000 Subject: nginx-0.3.18-RELEASE import *) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16. --- src/core/ngx_connection.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/ngx_connection.c') diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 0820fede8..93b43c477 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -295,6 +295,9 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle) } } + ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, + "bind() %V #%d ", &ls[i].addr_text, s); + if (bind(s, ls[i].sockaddr, ls[i].socklen) == -1) { err = ngx_socket_errno; -- cgit v1.2.3