aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-06-01 17:37:49 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-06-01 17:37:49 +0300
commit235d2df1de6aba77db3d128c0c637c9d2e9a9d12 (patch)
treecc3cb8f9b3f96dd064b0b2408ef4801efbaf7834 /src/http/ngx_http_request.c
parentdf1da673f74f52c215a3e9eee2b99a28085e5baa (diff)
downloadnginx-235d2df1de6aba77db3d128c0c637c9d2e9a9d12.tar.gz
nginx-235d2df1de6aba77db3d128c0c637c9d2e9a9d12.zip
SSL: ngx_ssl_shutdown() rework.
Instead of calling SSL_free() with each return point, introduced a single place where cleanup happens. As a positive side effect, this fixes two potential memory leaks on ngx_handle_read_event() and ngx_handle_write_event() errors where there were no SSL_free() calls (though unlikely practical, as errors there are only expected to happen due to bugs or kernel issues).
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions