Skip to content

Commit 6a6edcb

Browse files
authored
Merge branch 'master' into release/v3.1.x
2 parents eb72580 + 0515264 commit 6a6edcb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libraries/Network/src/NetworkClient.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ class ESPLwIPClient : public Client {
3333

3434
class NetworkClient : public ESPLwIPClient {
3535
protected:
36-
std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle;
37-
std::shared_ptr<NetworkClientRxBuffer> _rxBuffer;
38-
bool _connected;
39-
bool _sse;
36+
std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle = nullptr;
37+
std::shared_ptr<NetworkClientRxBuffer> _rxBuffer = nullptr;
38+
bool _connected = false;
39+
bool _sse = false;
4040
int _timeout;
41-
int _lastWriteTimeout;
42-
int _lastReadTimeout;
41+
int _lastWriteTimeout = 0;
42+
int _lastReadTimeout = 0;
4343

4444
public:
4545
NetworkClient *next;

0 commit comments

Comments
 (0)