Set http_request buffer_size_tx: 2048 - the real Out of buffer fix#95
Conversation
IDF's esp_http_client emits "Out of buffer" from request-line composition: GET <path>?<query> must fit buffer_size_tx. GitHub's release-asset redirect points at a signed URL with a ~850-char query string, so the follow-up request could never be built in the 512-byte default TX buffer - this is why esp_http_client_open failed, and why raising the RX buffer (#93, #94) didn't help. Confirmed against the IDF source (esp_http_client.c, http_client_prepare_first_line). Version: 26.7.8.8 🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
Warning Review limit reached
Next review available in: 7 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Version: 26.7.8.8
What does this implement/fix?
Third time's the charm on
HTTP_CLIENT: Out of buffer, and this one is confirmed against the IDF source rather than inferred:esp_http_clientemits "Out of buffer" from request-line composition (http_client_prepare_first_lineinesp_http_client.c) -GET <path>?<query>must fitbuffer_size_tx. GitHub's release-asset redirect targets a signed URL with a ~850-character query string, so the follow-up request could never be built in the 512-byte default TX buffer. That's why the failure is atesp_http_client_open(before anything is sent), and why raising the RX buffer (#93, #94) didn't help - the error was reproduced unchanged on hardware running 26.7.8.7.buffer_size_tx: 2048on all images. The RX bump from #94 stays (the first hop's 3.6 KB CSP header is still real).Types of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified:
🤖 Generated with Claude Code