Skip to content

Commit

Permalink
proxy: Removed leftover restriction to HTTP/1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lhecker committed Dec 29, 2016
1 parent b857265 commit 533039e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions caddyhttp/proxy/reverseproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ func (rp *ReverseProxy) ServeHTTP(rw http.ResponseWriter, outreq *http.Request,
}

rp.Director(outreq)
outreq.Proto = "HTTP/1.1"
outreq.ProtoMajor = 1
outreq.ProtoMinor = 1
outreq.Close = false

res, err := transport.RoundTrip(outreq)
if err != nil {
Expand Down

0 comments on commit 533039e

Please sign in to comment.