Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1906)

Unified Diff: net/quic/quic_http_stream.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/transport_security_state_static.json ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index b22fb93300b7780d895bdf2a88c8e9fa5e0d9fee..d61a30395658ff92e8dfc653b9b4b463ae9f789b 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -111,7 +111,8 @@ int QuicHttpStream::SendRequest(const HttpRequestHeaders& request_headers,
// TODO(rch): remove this once we figure out why channel ID is not being
// sent when it should be.
HostPortPair origin = HostPortPair::FromURL(request_info_->url);
- if (origin.Equals(HostPortPair("accounts.google.com", 443))) {
+ if (origin.Equals(HostPortPair("accounts.google.com", 443)) &&
+ request_headers.HasHeader(HttpRequestHeaders::kCookie)) {
SSLInfo ssl_info;
bool secure_session =
session_->GetSSLInfo(&ssl_info) && ssl_info.cert.get();
« no previous file with comments | « net/http/transport_security_state_static.json ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698