You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(h2): close without lingering after the final GOAWAY #1764
After an H2 frontend sends its final GOAWAY (graceful drain, soft stop, or a reply to the client's own GOAWAY), sozu stops reading, and once the GOAWAY is flushed the session closes at once (shutdown(SHUT_WR), then close(2)).
The client may still be sending frames it wrote before it read the GOAWAY (RFC 9113 §6.8). When the receive queue is not empty at the close, or more data arrives after it, the kernel sends a reset. That reset discards response bytes still queued in sozu's socket, so the client can lose the end of a response it was otherwise served in full.
This is the same mechanism #1738 addresses for H1, and the same staged close applies: half-close the write side, then read and discard for a bounded time and amount before closing.
Activity
fix(h2): linger before closing after the final GOAWAY
fix(h2): keep the clock fresh while lingering
fix(h2): linger before closing after the final GOAWAY (sozu-proxy#1768)
fix(h2): give a final GOAWAY with an error code a short linger (#1873)