summaryrefslogtreecommitdiffhomepage
path: root/src/http
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
commit4a5108b203404e6a2453e58fce667bde84e603b2 (patch)
tree32bf3b5f16240508668a669839ec11c5c4afc94c /src/http
parent284322947094b5c29ffc2166a946b26258c8f46c (diff)
downloadnginx-4a5108b203404e6a2453e58fce667bde84e603b2.tar.gz
nginx-4a5108b203404e6a2453e58fce667bde84e603b2.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions