Skip to content

Commit 28d74d7

Browse files
committed
SSLClient: rename setTimeout in setConnectionTimeout
1 parent 8911a05 commit 28d74d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/SSLClient/src/SSLClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ void SSLClient::setHandshakeTimeout(unsigned long handshake_timeout)
406406
sslclient->handshake_timeout = handshake_timeout * 1000;
407407
}
408408

409-
void SSLClient::setTimeout(unsigned long seconds)
409+
void SSLClient::setConnectionTimeout(unsigned long seconds)
410410
{
411411
_timeout = seconds * 1000;
412412
}

libraries/SSLClient/src/SSLClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class SSLClient : public Client
8383
bool verify(const char* fingerprint, const char* domain_name);
8484
void setHandshakeTimeout(unsigned long handshake_timeout);
8585

86-
void setTimeout(unsigned long seconds);
86+
void setConnectionTimeout(unsigned long seconds);
8787

8888
operator bool()
8989
{

0 commit comments

Comments
 (0)