ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

TCP streaming sockets not closing #105

Closed vladimirtemnikov closed 2 years ago

vladimirtemnikov commented 2 years ago

Hello @ncr 👋🏻

Currently if puma server acts as a client with rack-proxy and the response from server through rack-proxy is i.e. 304, then puma skips response body parse step and tcp socket, created by Rack::HttpStreamingResponse, stays opened until process is killed.

More information about this issue is here.

104 fixes this problem

vladimirtemnikov commented 2 years ago

@ncr Hello, is this possible to be merged soon?