http-reverse-proxy 0.3.1.6 → 0.3.1.7
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Network/HTTP/ReverseProxy.hs view
@@ -289,7 +289,8 @@ fixReqHeaders :: WaiProxySettings -> WAI.Request -> HT.RequestHeaders fixReqHeaders wps req =- addXRealIP $ filter (\(key, _) -> not $ key `Set.member` strippedHeaders)+ addXRealIP $ filter (\(key, value) -> not $ key `Set.member` strippedHeaders+ || (key == "connection" && value == "close")) $ WAI.requestHeaders req where addXRealIP =
http-reverse-proxy.cabal view
@@ -1,5 +1,5 @@ name: http-reverse-proxy-version: 0.3.1.6+version: 0.3.1.7 synopsis: Reverse proxy HTTP requests, either over raw sockets or with WAI description: Provides a simple means of reverse-proxying HTTP requests. The raw approach uses the same technique as leveraged by keter, whereas the WAI approach performs full request/response parsing via WAI and http-conduit. homepage: https://github.com/fpco/http-reverse-proxy