Commit Detail
Commit 50c021a
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.