Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/SSLClient/src/SSLClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void SSLClient::setHandshakeTimeout(unsigned long handshake_timeout)
sslclient->handshake_timeout = handshake_timeout * 1000;
}

void SSLClient::setTimeout(unsigned long seconds)
void SSLClient::setConnectionTimeout(unsigned long seconds)
{
_timeout = seconds * 1000;
}
2 changes: 1 addition & 1 deletion libraries/SSLClient/src/SSLClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SSLClient : public Client
bool verify(const char* fingerprint, const char* domain_name);
void setHandshakeTimeout(unsigned long handshake_timeout);

void setTimeout(unsigned long seconds);
void setConnectionTimeout(unsigned long seconds);

operator bool()
{
Expand Down
2 changes: 1 addition & 1 deletion libraries/lwIpWrapper/src/lwipClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class lwipClient : public Client {
{
return (_tcp_client->pcb->remote_port);
};
void setTimeout(uint16_t timeout)
void setConnectionTimeout(uint16_t timeout)
{
_timeout = timeout;
}
Expand Down