summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications
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 /test/unit/applications
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 '')
0 files changed, 0 insertions, 0 deletions