-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
WiFiClient improperly treats zero data available for read as an error #4435
Comments
This appears to be the cause of #4390 as well. |
Add to fix - function
|
@MHotchin you should submit your changes as a pull request so that they can be reviewed and merged into the current code base. |
MHotchin
added a commit
to MHotchin/arduino-esp32
that referenced
this issue
Oct 27, 2020
…le for read as an error
PR #4448 submitted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In "arduino-esp32/libraries/WiFi/src/WiFiClient.cpp".
If the client has run out of data that has been received, it will return an error, instead of returning 0 (indicating no data available right now).
Starting line 106:
Change to:
The text was updated successfully, but these errors were encountered: