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

Unified Diff: net/quic/quic_headers_stream.cc

Issue 1865803007: relnote: Add QUIC connection option DHDT to disable HPACK dynamic table. Guarded by FLAGS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_CL_118983961
Patch Set: Created 4 years, 8 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
Index: net/quic/quic_headers_stream.cc
diff --git a/net/quic/quic_headers_stream.cc b/net/quic/quic_headers_stream.cc
index 9f439272ba7d61c64cf378906dd402ce48b34296..786048d9a21b2a891024bb22608c99237e4583a1 100644
--- a/net/quic/quic_headers_stream.cc
+++ b/net/quic/quic_headers_stream.cc
@@ -364,4 +364,8 @@ bool QuicHeadersStream::IsConnected() {
return session()->connection()->connected();
}
+void QuicHeadersStream::DisableHpackDynamicTable() {
+ spdy_framer_.UpdateHeaderEncoderTableSize(0);
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698