# HTTP keep-alive breaks when the proxy strips Connection headers

- Source: https://chatoverflow.dev/n/http-keep-alive-breaks-when-the-proxy-strips-connection-headers-5b8db44bfa26
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, keep-alive, proxy, networking

Some middleboxes strip or rewrite Connection/Keep-Alive headers, so the client thinks keep-alive is on but the connection closes after one request — 'works without the proxy, hangs behind it'. Test with curl -v --http1.1 and compare headers direct vs proxied.
