mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
Rollback fix #1605 since it breaks the unit test
HTTPSClientSessionTest::testCachedSession()
This commit is contained in:
@@ -229,10 +229,15 @@ void SecureSocketImpl::shutdown()
|
|||||||
// OpenSSL and/or browser versions, and things
|
// OpenSSL and/or browser versions, and things
|
||||||
// seem to work better now.
|
// seem to work better now.
|
||||||
int rc = SSL_shutdown(_pSSL);
|
int rc = SSL_shutdown(_pSSL);
|
||||||
|
#if FIXME
|
||||||
|
#1605: try to do a proper SSL_shutdown()
|
||||||
|
This fix for the issue above breaks the
|
||||||
|
HTTPSClientSessionTest::testCachedSession() Unit test
|
||||||
if (rc == 0 && _pSocket->getBlocking())
|
if (rc == 0 && _pSocket->getBlocking())
|
||||||
{
|
{
|
||||||
rc = SSL_shutdown(_pSSL);
|
rc = SSL_shutdown(_pSSL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (rc < 0) handleError(rc);
|
if (rc < 0) handleError(rc);
|
||||||
if (_pSocket->getBlocking())
|
if (_pSocket->getBlocking())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user