pingqiuandClaude Opus 5.5 c88f028cf6 transport: G1/G2 refusal checks by probe handshake, not a read timer
#227: g2Refused gave the listener 500 ms to close a refused connection; a
loaded machine can take longer and the refusal was misread as acceptance.
A probe at the same lineage now follows the frame on the same connection:
the listener handles frames in order, so it either closes (refused) or
answers after the frame's effect (accepted). g1Ship checks the bytes once
after that answer instead of polling for 2 s; g1Barrier drops its deadline.
New TestG1_SlowPersistFailureIsStillARefusal: a persist failure slowed past
the old window is still a refusal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 01:09:19 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%