Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
login proxy: Hanging outgoing SSL connections caused using already-fr…
…eed memory This mainly happened when login proxy closed the connection due to connect timeout. The ssl-proxy still had a reference and existed for a longer time. If SSL handshake still succeeded afterwards, it now called login_proxy_ssl_handshaked(), which accessed the already-freed proxy and likely crashed. Fixed the ssl-client proxy code specifically. Alternatively ssl_proxy_free() could be calling ssl_proxy_destroy() always, but since ssl-server side of the code seems to have been working fine, I don't want to accidentally break it.
- Loading branch information