Skip to content

Avoid shadowing Stream.setTimeout #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
SSLClient: rename setTimeout in setConnectionTimeout
  • Loading branch information
pennam committed Sep 19, 2023
commit 28d74d70e26fea5c6513858d505ee2e94793ad61
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