Skip to content

Commit

Permalink
fix hangup when making many TLS calls quickly one after another
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed May 23, 2019
1 parent e8e3fbf commit 6be5b5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ProxyChannel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15201,7 +15201,10 @@ TLSCallSignalSocket::TLSCallSignalSocket(CallSignalSocket * s, WORD port) : Call
TLSCallSignalSocket::~TLSCallSignalSocket()
{
if (m_ssl) {
SSL_shutdown(m_ssl);
::shutdown(GetHandle(), SHUT_WR);
// don't call SSL_shutdown here, it will end other connections from the same parent context
// not sure why, but it does
//SSL_shutdown(m_ssl);
SSL_free(m_ssl);
m_ssl = NULL;
}
Expand Down
1 change: 1 addition & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Changes from 5.2 to 5.3
=======================
- BUGFIX(ProxyChannel.cxx) fix hangup when making many TLS calls quickly one after another
- BUGFIX(RasSrv.cxx) don't require H.460.22 parameters in ARQs
- BUGFIX(ProxyChannel.cxx) fix TLS without LARGE_FDSET
- BUGFIX(ProxyChannel.cxx) don't send H.460.22 priority field in SCI
Expand Down

0 comments on commit 6be5b5d

Please sign in to comment.