Skip to content

Commit 6011d05

Browse files
committed
AClient ASSLClient: remove possibility to set timeout from constructor
This way was used on by GSMClient and now is not more needed
1 parent b2de6f2 commit 6011d05

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

libraries/SocketWrapper/src/AClient.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#include "AClient.h"
33
#include "MbedSSLClient.h"
44

5-
AClient::AClient(unsigned long timeout) {
6-
setSocketTimeout(timeout);
7-
}
8-
95
void arduino::AClient::newMbedClient() {
106
client.reset(new MbedClient());
117
client->setNetwork(getNetwork());

libraries/SocketWrapper/src/AClient.h

-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class AClient : public Client {
2828
public:
2929

3030
AClient() {}
31-
AClient(unsigned long timeout);
3231

3332
virtual int connect(IPAddress ip, uint16_t port);
3433
virtual int connect(const char *host, uint16_t port);
@@ -71,7 +70,6 @@ class ASslClient : public AClient {
7170
public:
7271

7372
ASslClient() {}
74-
ASslClient(unsigned long timeout) : AClient(timeout) {}
7573

7674
void disableSNI(bool statusSNI);
7775

0 commit comments

Comments
 (0)