mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
74f5b5675e
Clears SSL error state. Updates tport_tls.c to clear the SSL error state after an error occurs. OpenSSL puts errors into a queue that is kept in thread local storage. In some cases, such as when SSL_ERROR_SSL is returned by SSL_get_errror(), OpenSSL will queue multiple errors for a single event. When this occurs, OpenSSL will report an error the next time I/O is performed if the queue is not cleared first, which can result in TLS connections being torn down prematurely.