We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest master (checkout manually)
Lately there have been issues with handling multiple requests to the webserver shortly after eachother.
For example loading CSS as a separate call or handling a GET and then a POST or when authenticating using a script.
It appears _sse is not always initialized in NetworkClient:
_sse
NetworkClient
arduino-esp32/libraries/Network/src/NetworkClient.cpp
Lines 184 to 189 in 6005b15
And the declaration of the members (without initialization):
arduino-esp32/libraries/Network/src/NetworkClient.h
Lines 36 to 44 in 6005b15
in NetworkClient.h:
class NetworkClient : public ESPLwIPClient { protected: std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle = nullptr; std::shared_ptr<NetworkClientRxBuffer> _rxBuffer = nullptr; bool _connected = false; bool _sse = false; int _timeout; int _lastWriteTimeout = 0; int _lastReadTimeout = 0;
Not only _sse is not always initialized, there are other members too.
The text was updated successfully, but these errors were encountered:
8479b4c
Successfully merging a pull request may close this issue.
Version
latest master (checkout manually)
Description
Lately there have been issues with handling multiple requests to the webserver shortly after eachother.
For example loading CSS as a separate call or handling a GET and then a POST or when authenticating using a script.
It appears
_sse
is not always initialized inNetworkClient
:arduino-esp32/libraries/Network/src/NetworkClient.cpp
Lines 184 to 189 in 6005b15
And the declaration of the members (without initialization):
arduino-esp32/libraries/Network/src/NetworkClient.h
Lines 36 to 44 in 6005b15
Suggested fix:
in NetworkClient.h:
Not only
_sse
is not always initialized, there are other members too.I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: