comparison src/http/ngx_http_request.c @ 406:ba0809223309

nginx-0.0.10-2004-08-23-23:09:29 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Aug 2004 19:09:29 +0000
parents 6f3b20c1ac50
children d6e2b445c1b8
comparison
equal deleted inserted replaced
405:e2452dd9c087 406:ba0809223309
186 i = 0; 186 i = 0;
187 187
188 if (in_port->addrs.nelts > 1) { 188 if (in_port->addrs.nelts > 1) {
189 189
190 /* 190 /*
191 * There are the several addresses on this port and one of them 191 * There are several addresses on this port and one of them
192 * is "*:port" so getsockname() is needed to determine 192 * is the "*:port" wildcard so getsockname() is needed to determine
193 * the server address. 193 * the server address.
194 *
194 * AcceptEx() already gave this address. 195 * AcceptEx() already gave this address.
195 */ 196 */
196 197
197 #if (WIN32) 198 #if (WIN32)
198 if (c->local_sockaddr) { 199 if (c->local_sockaddr) {
295 if (r->cleanup.elts == NULL) { 296 if (r->cleanup.elts == NULL) {
296 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); 297 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
297 ngx_http_close_connection(c); 298 ngx_http_close_connection(c);
298 return; 299 return;
299 } 300 }
301
300 /* 302 /*
301 * set by ngx_pcalloc(): 303 * set by ngx_pcalloc():
302 * 304 *
303 * r->cleanup.nelts = 0; 305 * r->cleanup.nelts = 0;
304 */ 306 */