Mercurial > hg > nginx-vendor-0-8
comparison src/event/ngx_event_accept.c @ 26:45fe5b98a9de NGINX_0_1_13
nginx 0.1.13
*) Feature: the server_names_hash and server_names_hash_threshold
directives.
*) Bugfix: the *.domain.tld names in the "server_name" directive did
not work.
*) Bugfix: the %request_length log parameter logged the incorrect
length.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 21 Dec 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 7ca9bdc82b3f |
comparison
equal
deleted
inserted
replaced
25:21488c53e135 | 26:45fe5b98a9de |
---|---|
94 log->handler = ngx_accept_log_error; | 94 log->handler = ngx_accept_log_error; |
95 | 95 |
96 len = ls->listening->socklen; | 96 len = ls->listening->socklen; |
97 | 97 |
98 s = accept(ls->fd, sa, &len); | 98 s = accept(ls->fd, sa, &len); |
99 | |
99 if (s == -1) { | 100 if (s == -1) { |
100 err = ngx_socket_errno; | 101 err = ngx_socket_errno; |
101 | 102 |
102 if (err == NGX_EAGAIN) { | 103 if (err == NGX_EAGAIN) { |
103 #if 0 | 104 #if 0 |