gabriel / musehub public
fix patch wire task/wire-streaming-request #1 / 1
AI Agent gabriel · 57 days ago · Apr 22, 2026 · Diff

fix(wire): stream request body instead of buffering in push_stream

Replace 'await request.body()' + wrapper generator with 'request.stream()' in the push_stream route. This eliminates Cloudflare's full-body buffering before forwarding to origin — the root cause of bad_record_mac TLS errors on large pushes. Chunks now forward as they arrive, matching HTTP/2 intent.

Tests: test_wire_streaming_push.py S1/S2 static checks verify the fix is present in source; S3/S4 are integration tests requiring a live server.

sha256:7f9d6b5ffaabcda978649f879107b2908b0791eb1edb699ffadcc5bccc436f52 sha
sha256:cebb0d94b19426fdaa579e105ccfd356aff9dbc99872aff8580c5d876c5475b8 snapshot
← Older Oldest on task/wire-streaming-request
All commits
Newer → Latest on task/wire-streaming-request

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:7f9d6b5ffaabcda978649f879107b2908b0791eb1edb699ffadcc5bccc436f52 --body "your comment"