edited for coding standard compliance

This commit is contained in:
Alex 2013-01-16 23:14:34 -06:00
parent c97c444672
commit ed24d96dda

View File

@ -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;
} }
} }