Skip to content
Commit Detail

Commit 50c021a

Author
vaibhavSharma-cf <vaibhavsharma@cloudflare.com> 2026-04-13 18:32:01 +0100
Parents
cee9c5d
Tree
502035a
Defer TCP socket connect() until DO output gate clears (#6533)

Wrap the WorkerInterface in newPromisedWorkerInterface() behind the
TCP_SOCKET_CONNECT_OUTPUT_GATE autogate. The promised interface defers
connect() until IoContext::waitForOutputLocks()
resolves, preventing premature network output while DO storage writes
are still pending.

Files changed