We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6005b15 + 8479b4c commit 0515264Copy full SHA for 0515264
libraries/Network/src/NetworkClient.h
@@ -35,13 +35,13 @@ class ESPLwIPClient : public Client {
35
36
class NetworkClient : public ESPLwIPClient {
37
protected:
38
- std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle;
39
- std::shared_ptr<NetworkClientRxBuffer> _rxBuffer;
40
- bool _connected;
41
- bool _sse;
+ std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle = nullptr;
+ std::shared_ptr<NetworkClientRxBuffer> _rxBuffer = nullptr;
+ bool _connected = false;
+ bool _sse = false;
42
int _timeout;
43
- int _lastWriteTimeout;
44
- int _lastReadTimeout;
+ int _lastWriteTimeout = 0;
+ int _lastReadTimeout = 0;
45
46
public:
47
NetworkClient *next;
0 commit comments