private _handshake_timeout, set to reflect arduino-esp32 WiFiClientSecure by default
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
virtual operator bool();
|
||||
virtual void setCertificate(const char *client_ca);
|
||||
virtual void setPrivateKey (const char *private_key);
|
||||
virtual void setHandshakeTimeout(unsigned long handshake_timeout);
|
||||
virtual void setHandshakeTimeout(unsigned long timeout);
|
||||
|
||||
// using Print::write;
|
||||
|
||||
@@ -76,7 +76,7 @@ private:
|
||||
mbedtls_pk_context _clientKey;
|
||||
bool _connected;
|
||||
int _peek;
|
||||
unsigned long handshake_timeout;
|
||||
unsigned long _handshake_timeout = 120000;
|
||||
|
||||
SemaphoreHandle_t _mbedMutex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user