mirror of
https://github.com/nginx/nginx.git
synced 2024-12-03 04:39:00 +08:00
nginx-0.0.10-2004-08-23-23:09:29 import
This commit is contained in:
parent
94085ff2b5
commit
d00b3654ce
@ -188,9 +188,10 @@ static void ngx_http_init_request(ngx_event_t *rev)
|
|||||||
if (in_port->addrs.nelts > 1) {
|
if (in_port->addrs.nelts > 1) {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* There are the several addresses on this port and one of them
|
* There are several addresses on this port and one of them
|
||||||
* is "*:port" so getsockname() is needed to determine
|
* is the "*:port" wildcard so getsockname() is needed to determine
|
||||||
* the server address.
|
* the server address.
|
||||||
|
*
|
||||||
* AcceptEx() already gave this address.
|
* AcceptEx() already gave this address.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -297,6 +298,7 @@ static void ngx_http_init_request(ngx_event_t *rev)
|
|||||||
ngx_http_close_connection(c);
|
ngx_http_close_connection(c);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* set by ngx_pcalloc():
|
* set by ngx_pcalloc():
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user