diff --git a/src/net/spdy/spdy_http_utils.cc b/src/net/spdy/spdy_http_utils.cc index 147d9fc85c..81d131df8f 100644 --- a/src/net/spdy/spdy_http_utils.cc +++ b/src/net/spdy/spdy_http_utils.cc @@ -111,6 +111,10 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info, HttpRequestHeaders::Iterator it(request_headers); while (it.GetNext()) { std::string name = base::ToLowerASCII(it.name()); + if (info.method == "CONNECT" && name == "-connect-authority") { + (*headers)[spdy::kHttp2AuthorityHeader] = it.value(); + continue; + } if (name.empty() || name[0] == ':' || name == "connection" || name == "proxy-connection" || name == "transfer-encoding" || name == "host") {