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