diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 13:35:20 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 13:35:20 +0000 |
commit | 9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (patch) | |
tree | b3552c24563e7343e796315e5daee1070f11fb51 /src/http/ngx_http_request.c | |
parent | 10a543a810ac78eb5d754302b001debf9cd420c4 (diff) | |
download | nginx-9c61095a30ed2b6bf051dacbbbd26ae2769d9e34.tar.gz nginx-9c61095a30ed2b6bf051dacbbbd26ae2769d9e34.zip |
nginx-0.0.3-2004-03-16-16:35:20 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 4113279c1..b69e79082 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -64,6 +64,7 @@ void ngx_http_init_connection(ngx_connection_t *c) c->addr_text.len = ngx_sock_ntop(c->listening->family, c->sockaddr, c->addr_text.data, c->listening->addr_text_max_len); + if (c->addr_text.len == 0) { ngx_http_close_connection(c); return; |