]> git.kaiwu.me - nginx.git/commit
Merge of r4892: keepalive memory usage optimization.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 13 Nov 2012 11:21:31 +0000 (11:21 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 13 Nov 2012 11:21:31 +0000 (11:21 +0000)
commit1954cf149aa79ba2bb1ce0b7b20422ab2ca6c93a
tree7d590f1dfb78b69f6b6ef08220b9201de0710d4a
parentde72cc29aa580977ba27ead248e9e42da66702ad
Merge of r4892: keepalive memory usage optimization.

The ngx_http_keepalive_handler() function is now trying to not
keep c->buffer's memory for idle connections.

This behaviour is consistent with the ngx_http_set_keepalive()
function and it should decrease memory usage in some cases (especially
if epoll/rtsig is used).
src/http/ngx_http_request.c