mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
edited for coding standard compliance
This commit is contained in:
parent
c97c444672
commit
ed24d96dda
@ -191,10 +191,13 @@ void HTTPSClientSession::connect(const SocketAddress& address)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int HTTPSClientSession::read(char* buffer, std::streamsize length) {
|
int HTTPSClientSession::read(char* buffer, std::streamsize length)
|
||||||
try {
|
{
|
||||||
return HTTPClientSession::read(buffer, length);
|
try
|
||||||
} catch(SSLConnectionUnexpectedlyClosedException&) {
|
{
|
||||||
|
return HTTPSession::read(buffer, length);
|
||||||
|
} catch(SSLConnectionUnexpectedlyClosedException&)
|
||||||
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user