mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 00:15:27 +01:00
porting rev.1913 from 1.4.4 (fixed SF# 3550553)
This commit is contained in:
parent
662050937e
commit
369218ef37
@ -151,7 +151,13 @@ void SecureSocketImpl::connectNB(const SocketAddress& address)
|
||||
poco_assert (!_pSSL);
|
||||
|
||||
_pSocket->connectNB(address);
|
||||
Poco::Timespan receiveTimeout = _pSocket->getReceiveTimeout();
|
||||
Poco::Timespan sendTimeout = _pSocket->getSendTimeout();
|
||||
_pSocket->setReceiveTimeout(timeout);
|
||||
_pSocket->setSendTimeout(timeout);
|
||||
connectSSL(false);
|
||||
_pSocket->setReceiveTimeout(receiveTimeout);
|
||||
_pSocket->setSendTimeout(sendTimeout);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user