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

Unified Diff: net/tools/quic/quic_spdy_client_stream.cc

Issue 14651009: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix integer constant is too large for 'unsigned long' type Created 7 years, 7 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/tools/quic/quic_reliable_server_stream_test.cc ('k') | net/tools/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_spdy_client_stream.cc
diff --git a/net/tools/quic/quic_spdy_client_stream.cc b/net/tools/quic/quic_spdy_client_stream.cc
index e401ce23168fb2b3af1b0b703ca6b2283a401fa8..11d42a0780001401228a869275507c2df8de8372 100644
--- a/net/tools/quic/quic_spdy_client_stream.cc
+++ b/net/tools/quic/quic_spdy_client_stream.cc
@@ -59,7 +59,11 @@ void QuicSpdyClientStream::TerminateFromPeer(bool half_close) {
ssize_t QuicSpdyClientStream::SendRequest(const BalsaHeaders& headers,
StringPiece body,
bool fin) {
- string headers_string = SpdyUtils::SerializeRequestHeaders(headers);
+ SpdyHeaderBlock header_block =
+ SpdyUtils::RequestHeadersToSpdyHeaders(headers);
+
+ string headers_string =
+ session()->compressor()->CompressHeaders(header_block);
bool has_body = !body.empty();
« no previous file with comments | « net/tools/quic/quic_reliable_server_stream_test.cc ('k') | net/tools/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698