]> git.kaiwu.me - nginx.git/commit
Request body: added alert to catch duplicate body saving.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 29 Aug 2021 19:20:54 +0000 (22:20 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 29 Aug 2021 19:20:54 +0000 (22:20 +0300)
commitfd9d43b087b4247f8cb5f91845be46bd624c175a
tree411d6f4191dc071c1774feec0e3a3f313a21cb67
parentaa02695f5ea70f6628317b56f93e7e8733d4a029
Request body: added alert to catch duplicate body saving.

If due to an error ngx_http_request_body_save_filter() is called
more than once with rb->rest == 0, this used to result in a segmentation
fault.  Added an alert to catch such errors, just in case.
src/http/ngx_http_request_body.c