mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Bug 2030: Timeout while uploading files to some FTP server using TLS 1.3
https://winscp.net/tracker/2030 Source commit: bc5a4aaada2515c192316ad96aa2f2727fb6de34
This commit is contained in:
@@ -1005,15 +1005,6 @@ BOOL CAsyncSslSocketLayer::ShutDown(int nHow /*=sends*/)
|
||||
}
|
||||
|
||||
int res = SSL_shutdown(m_ssl);
|
||||
if (res == 0)
|
||||
{
|
||||
res = SSL_shutdown(m_ssl);
|
||||
// While this should not be necessary, with IIS we get timeout otherwise
|
||||
if (SSL_version(m_ssl) <= TLS1_2_VERSION)
|
||||
{
|
||||
res = 0;
|
||||
}
|
||||
}
|
||||
if (res >= 0)
|
||||
{
|
||||
if (ShutDownComplete())
|
||||
|
||||
Reference in New Issue
Block a user