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

Unified Diff: net/quic/test_tools/quic_test_packet_maker.cc

Issue 1277723003: Landing Recent QUIC changes until 8/4/2015 20:30 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dont enable FLAGS_quic_require_handshake_confirmation to fix crypto tests Created 5 years, 4 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/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_test_packet_maker.cc
diff --git a/net/quic/test_tools/quic_test_packet_maker.cc b/net/quic/test_tools/quic_test_packet_maker.cc
index 55866f45ef64e077a09d502a358e6990b7837ce4..70975c7e6e6f02a443a1bc27e50e280e03e13fb5 100644
--- a/net/quic/test_tools/quic_test_packet_maker.cc
+++ b/net/quic/test_tools/quic_test_packet_maker.cc
@@ -230,7 +230,6 @@ SpdyHeaderBlock QuicTestPacketMaker::GetRequestHeaders(
const std::string& scheme,
const std::string& path) {
SpdyHeaderBlock headers;
- headers[":method"] = method;
if (version_ <= QUIC_VERSION_24) {
headers[":host"] = host_;
} else {
@@ -238,6 +237,7 @@ SpdyHeaderBlock QuicTestPacketMaker::GetRequestHeaders(
}
headers[":path"] = path;
headers[":scheme"] = scheme;
+ headers[":method"] = method;
if (version_ <= QUIC_VERSION_24) {
headers[":version"] = "HTTP/1.1";
}
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698