diff 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
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -302,8 +302,6 @@ typedef struct {
 #endif
 #endif
 
-    ngx_http_request_t               *request;
-
     ngx_buf_t                       **busy;
     ngx_int_t                         nbusy;