Home
last modified time | relevance | path

Searched hist:1829 (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_router_request.hdiff 1829:8fb5cbfe761a Thu Mar 25 11:16:00 UTC 2021 Max Romanov <max.romanov@nginx.com> 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.
H A Dnxt_router.cdiff 1829:8fb5cbfe761a Thu Mar 25 11:16:00 UTC 2021 Max Romanov <max.romanov@nginx.com> 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.