mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01: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) {
|
||||
try {
|
||||
return HTTPClientSession::read(buffer, length);
|
||||
} catch(SSLConnectionUnexpectedlyClosedException&) {
|
||||
int HTTPSClientSession::read(char* buffer, std::streamsize length)
|
||||
{
|
||||
try
|
||||
{
|
||||
return HTTPSession::read(buffer, length);
|
||||
} catch(SSLConnectionUnexpectedlyClosedException&)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user