]> git.kaiwu.me - nginx.git/commit
Allocate request object from its own pool.
authorValentin Bartenev <vbart@nginx.com>
Fri, 1 Mar 2013 14:55:42 +0000 (14:55 +0000)
committerValentin Bartenev <vbart@nginx.com>
Fri, 1 Mar 2013 14:55:42 +0000 (14:55 +0000)
commitfcf003c6f4a5a7c885de0befcd45f4acddefb47b
tree4733bfd32013cae54f2f3b6e504b50f04d375d77
parentb720f650bb72118481884657fb6a9bcb1b0f3b11
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.
src/http/ngx_http_request.c
src/http/ngx_http_request.h