We'll be supporting "un-hijacking" a client socket for proxy_pass and we must preserve state for pipelined requests. --- lib/yahns/http_client.rb | 1 - 1 file changed, 1 deletion(-)
diff --git a/lib/yahns/http_client.rb b/lib/yahns/http_client.rb index 46ea3ec..164cac9 100644 --- a/lib/yahns/http_client.rb +++ b/lib/yahns/http_client.rb @@ -266,7 +266,6 @@ def hijack_cleanup # prevent socket from holding process up Thread.current[:yahns_fdmap].forget(self) @input = nil # keep env["rack.input"] accessible, though - @hs = nil # no need for the HTTP parser anymore end def response_hijacked(fn) -- EW