diff options
-rw-r--r-- | lib/webrick/httpproxy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,7 +186,7 @@ module WEBrick private - # Some header fields shuold not be transfered. HopByHop = %w( connection keep-alive proxy-authenticate upgrade proxy-authorization te trailers transfer-encoding ) ShouldNotTransfer = %w( set-cookie proxy-connection ) @@ -272,7 +272,7 @@ module WEBrick response = yield(http, path, header) end - # Persistent connction requirements are mysterious for me. # So I will close the connection in every response. res['proxy-connection'] = "close" res['connection'] = "close" |