An upgrade the app accepts under another protocol name is answered 502 (closes #131) #147

Merged
clawbot merged 1 commits from issue-131-refused-upgrade-502 into next 2026-10-20 15:36:31 +02:00
1 Commits
Author SHA1 Message Date
sneak 68244d806c An upgrade the app accepts under another protocol name is answered 502 (closes #131)
check / check (push) Waiting to run
ReverseProxy refuses a 101 whose Upgrade is not the one the client asked
for, but modifyResponse had already counted the 101 as sent, so
answerError sent nothing and the client got an empty 200. The 101 now
counts as sent only once ReverseProxy has taken over the client's
connection, and answerError closes the app's switched connection, which
ReverseProxy leaves open when it refuses the switch.

Model: opus-5-5
2026-10-20 13:18:48 +00:00