diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2021-06-01 17:37:49 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-06-01 17:37:49 +0300 |
| commit | 4a5108b203404e6a2453e58fce667bde84e603b2 (patch) | |
| tree | 32bf3b5f16240508668a669839ec11c5c4afc94c /src/http | |
| parent | 284322947094b5c29ffc2166a946b26258c8f46c (diff) | |
| download | nginx-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
