Searched hist:1760 (Results 1 – 2 of 2) sorted by path
/unit/docs/ |
H A D | changes.xml | diff 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/src/ |
H A D | nxt_http_static.c | diff 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.
|