summaryrefslogtreecommitdiffhomepage
path: root/docs/changes.xml
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-12-23 11:01:36 +0300
committerMax Romanov <max.romanov@nginx.com>2020-12-23 11:01:36 +0300
commitb7dba9006243f65e66d85a3a29841262c1c5dfef (patch)
treef36b8c60c0f573d3ac4949ae0aede586053e4524 /docs/changes.xml
parentcac762ab7ef22798d0f1d0813201c0018bd589a1 (diff)
downloadunit-b7dba9006243f65e66d85a3a29841262c1c5dfef.tar.gz
unit-b7dba9006243f65e66d85a3a29841262c1c5dfef.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--docs/changes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/changes.xml b/docs/changes.xml
index db7a2799..86bdc10a 100644
--- a/docs/changes.xml
+++ b/docs/changes.xml
@@ -61,6 +61,13 @@ had appeared in 1.19.0.
</para>
</change>
+<change type="bugfix">
+<para>
+a memory leak occurring in the router process when serving a file larger than
+128K; the bug had appeared in 1.13.0.
+</para>
+</change>
+
</changes>