Files
PaperClipAI/packages
Priya RamanandPaperclip 41e6d9823b fix(adapter-utils): pause the http2 bridge request body until admission
A queued stream held its full request body in host memory during the
admission wait, because the body capture put the stream in flowing
mode as soon as it attached its listeners. This broke the plan's rule
that a queued stream holds no body bytes and adds no new buffer.

Pause the stream in the same turn as the listener attach, and resume
it only after the admission gate grants a slot. The peer's own
flow-control window now stalls a queued stream at the wire instead of
the JS layer buffering the body early.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-26 18:01:32 -07:00
..