diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-12-18 00:25:28 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-12-18 00:25:28 +0300 |
commit | 7b669ed866896afbf26ab6bc0737fe7c8f9c2ec5 (patch) | |
tree | 5863a2462b8b9251bde0efc51d9cd3a7c1872926 /src/nxt_http_route_addr.h | |
parent | 7389a50835696fe256c5decf31bec129f1d59bbf (diff) | |
download | unit-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 'src/nxt_http_route_addr.h')
0 files changed, 0 insertions, 0 deletions