mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-05 04:58:05 +00:00
edited for coding standard compliance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user