comparison src/http/ngx_http_request.h @ 5096:63014d919fec

Allocate request object from its own pool. Previously, it was allocated from a connection pool and was selectively freed for an idle keepalive connection. The goal is to put coupled things in one chunk of memory, and to simplify handling of request objects.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 01 Mar 2013 14:55:42 +0000
parents 68ca3e824115
children 4d67b696388f
comparison
equal deleted inserted replaced
5095:4fbef397c753 5096:63014d919fec
299 ngx_str_t *ssl_servername; 299 ngx_str_t *ssl_servername;
300 #if (NGX_PCRE) 300 #if (NGX_PCRE)
301 ngx_http_regex_t *ssl_servername_regex; 301 ngx_http_regex_t *ssl_servername_regex;
302 #endif 302 #endif
303 #endif 303 #endif
304
305 ngx_http_request_t *request;
306 304
307 ngx_buf_t **busy; 305 ngx_buf_t **busy;
308 ngx_int_t nbusy; 306 ngx_int_t nbusy;
309 307
310 ngx_buf_t **free; 308 ngx_buf_t **free;