rproxy: read the rest of a Connection: close visitor's body after an early answer (closes #373) #375

Open
clawbot wants to merge 1 commits from issue-373-read-rest-after-connection-close into next
pull from: issue-373-read-rest-after-connection-close
1 Commits
Author SHA1 Message Date
clawbot 39430dca22 rproxy: read the rest of a Connection: close visitor's body after an early answer (closes #373)
check / check (push) Waiting to run
Go's server reads the body left unread once the handler returns, but not
for a request with Connection: close: it closes the connection with the
rest unread, and the visitor, still sending, gets a reset. rproxy now
reads that rest itself once it has answered, up to the 256 KiB Go's
server reads, until the deadline already set on the connection.

Model: opus-5-5
2026-11-12 06:33:29 +00:00