mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 18:31:34 +01:00
The response promise settled only on stream "end", "error", or "aborted". A host that opened a stream and then went silent left the promise pending forever, so the local gateway request hung. Add a finite timer, armed per stream and reusing the existing response timeout budget, that destroys the stream and rejects on expiry. Co-authored-by: Paperclip <noreply@paperclip.ing>