diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-03-17 14:44:11 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-03-17 14:44:11 +0300 |
commit | c6f9ca79e6a8517544a0995414de8421a9983687 (patch) | |
tree | 6c0d1faf0f64442501169803d64e5ca8a0a30d56 /src/nxt_port_socket.c | |
parent | efbcd517fc9ec1ef5a6dfe85cb79bf0a57b954c5 (diff) | |
download | unit-c6f9ca79e6a8517544a0995414de8421a9983687.tar.gz unit-c6f9ca79e6a8517544a0995414de8421a9983687.tar.bz2 |
Fixing body fd access racing condition.
To avoid closing the body fd prematurely, the fd value is moved from
the request struct to the app link. The body fd should not be closed
immediately after the request is sent to the application due to possible
request rescheduling.
Diffstat (limited to 'src/nxt_port_socket.c')
0 files changed, 0 insertions, 0 deletions