Files
PaperClipAI/packages
Priya RamanandPaperclip 12f97efa9b feat(adapter-utils): hold one HTTP/2 bridge admission slot for the whole host hold time
Wire the admission gate from the prior phase into the bridge server. Every
admitted stream now takes one gate slot after the route check, and holds
it until the response stream closes or a drain bound frees it, so the
gate's process-wide caps carry real weight against host memory instead of
sitting unused.

The body read now starts capturing data in the same synchronous turn as
the stream event, ahead of the admission wait, and arms its idle and
lifetime timers only after admission grants a slot. Node does not replay
a request body the read was not yet listening for, so a body read that
began only after an async admission wait could stall a request that had
already fully arrived.

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