trevora 74f5b5675e FS-10395: [mod_sofia] Fix ssl error handling in tls sip traffic
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.
2017-07-06 17:44:26 -04:00
..
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2016-09-27 16:40:43 -05:00
2015-05-28 12:46:43 -05:00
2014-03-07 18:36:26 -05:00
2014-03-07 18:36:26 -05:00
2014-03-06 00:02:40 +05:00