comparison src/http/ngx_http_request.h @ 2176:29d26406e1bd

restore connection address on request closure, this fixes the issue when a frontend before nginx sends various client connections via keepalive connection to nginx
author Igor Sysoev <igor@sysoev.ru>
date Wed, 13 Aug 2008 16:31:01 +0000
parents fb3b084e7d42
children 5398f47082f0
comparison
equal deleted inserted replaced
2175:a69886fc2864 2176:29d26406e1bd
433 unsigned gzip:2; 433 unsigned gzip:2;
434 434
435 unsigned proxy:1; 435 unsigned proxy:1;
436 unsigned bypass_cache:1; 436 unsigned bypass_cache:1;
437 unsigned no_cache:1; 437 unsigned no_cache:1;
438
439 #if (NGX_HTTP_REALIP)
440
441 /*
442 * instead of using the request context data in ngx_http_realip_module
443 * we use the single bit in the request structure
444 */
445 unsigned realip_set:1;
446
447 #endif
448 438
449 /* 439 /*
450 * instead of using the request context data in ngx_http_limit_zone_module 440 * instead of using the request context data in ngx_http_limit_zone_module
451 * we use the single bit in the request structure 441 * we use the single bit in the request structure
452 */ 442 */