From 39835e8da29d563d234249d3e182043a0bf88d8e Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 28 Feb 2019 10:37:27 +0100 Subject: [PATCH] specify protocol in http inbound --- proxy/http/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxy/http/server.go b/proxy/http/server.go index 1cedd9baa..6304b1879 100755 --- a/proxy/http/server.go +++ b/proxy/http/server.go @@ -239,6 +239,10 @@ func (s *Server) handlePlainHTTP(ctx context.Context, request *http.Request, wri request.Header.Set("User-Agent", "") } + ctx = session.ContextWithContent(ctx, &session.Content{ + Protocol: "http/1.1", + }) + link, err := dispatcher.Dispatch(ctx, dest) if err != nil { return err