Skip to content

fix(tsi): forward reverse-proxy FIN after data - #13

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/447-tsi-fin-delay-main
Sep 17, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/447-tsi-fin-delay-main

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

Test plan

  • a3s-box run -d -p HOST:8080 with Connection: close / no Content-Length fixture; host client EOF < 1s (was ~5.000s)
  • nginx / forking server on -p still serves responses (premature parent close still ignored)
  • keep-alive / Content-Length clients unchanged

Made with Cursor

Ignore both-direction OP_SHUTDOWN on reverse proxies only while idle
(forking parent close), matching release(). Honor shutdown after data
or for half-close so host clients get EOF without waiting for the 5s
reaper deferred removal.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 6fd3b7c into main Sep 17, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[linux][P2] TSI published ports (-p) deliver the server's FIN to the client exactly 5 s late

1 participant