mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 05:49:04 +02:00
improved HTTPClientSession error handling for network errors handling during sending the request
This commit is contained in:
@@ -210,6 +210,13 @@ void HTTPSession::setException(const Poco::Exception& exc)
|
||||
}
|
||||
|
||||
|
||||
void HTTPSession::clearException()
|
||||
{
|
||||
delete _pException;
|
||||
_pException = 0;
|
||||
}
|
||||
|
||||
|
||||
StreamSocket HTTPSession::detachSocket()
|
||||
{
|
||||
StreamSocket oldSocket(_socket);
|
||||
|
Reference in New Issue
Block a user