HTTP Client fix - #578
Open
gustavowd wants to merge 2 commits into
Open
Conversation
danielmeza
approved these changes
Jul 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝
cargo fmtcommand to ensure that all changed code is formatted correctly.cargo clippycommand to ensure that all changed code passes latest Clippy nightly lints.CHANGELOG.mdin the proper section.Pull Request Details 📖
Description
The description of the problem is in issue #263
Testing
I'm using the http client for several ours and the connection is stable. In case of error, the esp-idf-sys http client resets the connection. For example:
E (1604982) transport_base: poll_read select error 104, errno = Connection reset by peer, fd = 54
E (1606586) transport_base: poll_write select error 0, errno = Success, fd = 54
W (1606589) transport_base: Poll timeout or error, errno=Success, fd=54, timeout_ms=1500
E (1606594) HTTP_CLIENT: Error write request
I (1608202) HTTP_CLIENT: HTTP Client connecting ...