aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2021-07-05 13:09:23 +0300
committerRuslan Ermilov <ru@nginx.com>2021-07-05 13:09:23 +0300
commitb20768e61cd3569160a57e2f0e2e6d0def87792e (patch)
treefb26ffe1c925aaef7456a7bc292b76ce5da4c8a5 /src/http/ngx_http_request.h
parent07c63a42640e59bf5e3399cfdafd498b61671780 (diff)
downloadnginx-b20768e61cd3569160a57e2f0e2e6d0def87792e.tar.gz
nginx-b20768e61cd3569160a57e2f0e2e6d0def87792e.zip
Use only preallocated memory in ngx_readv_chain() (ticket #1408).
In d1bde5c3c5d2, the number of preallocated iovec's for ngx_readv_chain() was increased. Still, in some setups, the function might allocate memory for iovec's from a connection pool, which is only freed when closing the connection. The ngx_readv_chain() function was modified to use only preallocated memory, similarly to the ngx_writev_chain() change in 8e903522c17a.
Diffstat (limited to 'src/http/ngx_http_request.h')
0 files changed, 0 insertions, 0 deletions