aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-18 12:23:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-18 12:23:57 +0000
commit3658a5bdc655d27d5457c3a1de20b02ac0cddf46 (patch)
tree9d840e1bacf1a8b4d610e1deb7397f3e28d4b6eb /src/http/ngx_http_request.c
parentf76a6c2244dc20f7cfe01bb3261341436f0ac598 (diff)
downloadnginx-3658a5bdc655d27d5457c3a1de20b02ac0cddf46.tar.gz
nginx-3658a5bdc655d27d5457c3a1de20b02ac0cddf46.zip
fix $server_addr for wildcard listen, the has been introduced in r2513
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 0280c6380..c80ae101c 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -310,8 +310,6 @@ ngx_http_init_request(ngx_event_t *rev)
* is required to determine a server address
*/
- c->local_sockaddr = NULL;
-
if (ngx_http_server_addr(r, NULL) != NGX_OK) {
ngx_http_close_connection(c);
return;