-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ESP8266HTTPClient without timeout #1520
New issue
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
Comments
there is, on timeout readStringUntil will return a empty string "" and then return: an connection lost here: try to enable debug for the HTTP client: |
Thanks for the answer! I'll enable debug later. |
if internet access fails connected will return false. the condition you note is may possible when the server never send anything and keeps the connection open. |
Why there is no timeout on handleHeaderResponse method? My code does simple POST calls and stuck sometimes waiting for a response that never comes.
The text was updated successfully, but these errors were encountered: