mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
nginx-0.0.10-2004-08-23-23:09:29 import
This commit is contained in:
parent
94085ff2b5
commit
d00b3654ce
1 changed files with 4 additions and 2 deletions
|
|
@ -188,9 +188,10 @@ static void ngx_http_init_request(ngx_event_t *rev)
|
|||
if (in_port->addrs.nelts > 1) {
|
||||
|
||||
/*
|
||||
* There are the several addresses on this port and one of them
|
||||
* is "*:port" so getsockname() is needed to determine
|
||||
* There are several addresses on this port and one of them
|
||||
* is the "*:port" wildcard so getsockname() is needed to determine
|
||||
* the server 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);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* set by ngx_pcalloc():
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue