summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/nodejs
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-03-25 14:16:30 +0300
committerMax Romanov <max.romanov@nginx.com>2021-03-25 14:16:30 +0300
commit9957a959dfd6e60e6fce02c904ad6f768f69c44b (patch)
treec5887c11ac3ec288fc129ca3c3f9a41e0dba9f87 /auto/modules/nodejs
parentd2b0882d89f29fea84b457e0709b6980c8a30a57 (diff)
downloadunit-9957a959dfd6e60e6fce02c904ad6f768f69c44b.tar.gz
unit-9957a959dfd6e60e6fce02c904ad6f768f69c44b.tar.bz2
Releasing shm buffers for large body requests.
This fixes memory and shm file descriptor leakage that occurred when a large request body was passed via shared memory. The leakage was caught with the "test_settings_body_buffer_size" test. The main condition is the "body_buffer_size" value exceeding 10 Mb (a shm segment). Thus, the router was forced to split the body into several shm segments, but these buffers were not freed because of dummy completion handlers.
Diffstat (limited to 'auto/modules/nodejs')
0 files changed, 0 insertions, 0 deletions