Home
last modified time | relevance | path

Searched hist:1760 (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_http_static.cdiff 1760:e1dd32f17a18 Wed Dec 23 08:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Static: fixing request memory pool leakage in router.

When a static file larger than NXT_HTTP_STATIC_BUF_SIZE (128K) is served, two
buffers are allocated and chained; each retains the whole request memory pool.

Starting from 41331471eee7, the completion handler was called once for a linked
buffer chain, but the second buffer got lost.

This patch improves the completion handler's treatment of static buffers to
handle all linked buffers.
/unit/docs/
H A Dchanges.xmldiff 1760:e1dd32f17a18 Wed Dec 23 08:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Static: fixing request memory pool leakage in router.

When a static file larger than NXT_HTTP_STATIC_BUF_SIZE (128K) is served, two
buffers are allocated and chained; each retains the whole request memory pool.

Starting from 41331471eee7, the completion handler was called once for a linked
buffer chain, but the second buffer got lost.

This patch improves the completion handler's treatment of static buffers to
handle all linked buffers.