Mercurial > hg > nginx-ranges
comparison src/core/ngx_connection.c @ 142:84910468f6de NGINX_0_3_18
nginx 0.3.18
*) 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; bug appeared in 0.3.12.
*) Bugfix: on 64-bit platforms segmentation fault may occurred on
start; bug appeared in 0.3.16.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Dec 2005 00:00:00 +0300 |
parents | 3656228c0b56 |
children | bb61aa162c6b |
comparison
equal
deleted
inserted
replaced
141:249e67502bf3 | 142:84910468f6de |
---|---|
292 &ls[i].addr_text); | 292 &ls[i].addr_text); |
293 | 293 |
294 return NGX_ERROR; | 294 return NGX_ERROR; |
295 } | 295 } |
296 } | 296 } |
297 | |
298 ngx_log_debug2(NGX_LOG_DEBUG_CORE, cycle->log, 0, | |
299 "bind() %V #%d ", &ls[i].addr_text, s); | |
297 | 300 |
298 if (bind(s, ls[i].sockaddr, ls[i].socklen) == -1) { | 301 if (bind(s, ls[i].sockaddr, ls[i].socklen) == -1) { |
299 err = ngx_socket_errno; | 302 err = ngx_socket_errno; |
300 | 303 |
301 if (err == NGX_EADDRINUSE && ngx_test_config) { | 304 if (err == NGX_EADDRINUSE && ngx_test_config) { |