summaryrefslogtreecommitdiffhomepage
path: root/docs/changes.xml
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-12-18 00:25:28 +0300
committerMax Romanov <max.romanov@nginx.com>2020-12-18 00:25:28 +0300
commit7b669ed866896afbf26ab6bc0737fe7c8f9c2ec5 (patch)
tree5863a2462b8b9251bde0efc51d9cd3a7c1872926 /docs/changes.xml
parent7389a50835696fe256c5decf31bec129f1d59bbf (diff)
downloadunit-7b669ed866896afbf26ab6bc0737fe7c8f9c2ec5.tar.gz
unit-7b669ed866896afbf26ab6bc0737fe7c8f9c2ec5.tar.bz2
Libunit: fixed shared memory waiting.
The nxt_unit_ctx_port_recv() function may return the NXT_UNIT_AGAIN code, in which case an attempt to reread the message should be made. The issue was reproduced in load testing with response sizes 16k and up. In the rare case of a NXT_UNIT_AGAIN result, a buffer of size -1 was processed, which triggered a 'message too small' alert; after that, the app process was terminated.
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 f157e9bf..6bd30cab 100644
--- a/docs/changes.xml
+++ b/docs/changes.xml
@@ -48,6 +48,13 @@ appeared in 1.19.0.
</para>
</change>
+<change type="bugfix">
+<para>
+application processes could terminate unexpectedly under high load; the bug
+had appeared in 1.19.0.
+</para>
+</change>
+
</changes>