Index: net/quic/quic_spdy_session.cc |
diff --git a/net/quic/quic_spdy_session.cc b/net/quic/quic_spdy_session.cc |
index af92387004929c979a9a35195ea1ccd1393b2c1a..07b202abdd23d327c62fcac905df545cf598e4d0 100644 |
--- a/net/quic/quic_spdy_session.cc |
+++ b/net/quic/quic_spdy_session.cc |
@@ -113,4 +113,12 @@ void QuicSpdySession::OnPromiseHeadersComplete(QuicStreamId stream_id, |
ConnectionCloseBehavior::SILENT_CLOSE); |
} |
+void QuicSpdySession::OnConfigNegotiated() { |
+ QuicSession::OnConfigNegotiated(); |
+ if (FLAGS_quic_disable_hpack_dynamic_table && |
+ config()->HasClientSentConnectionOption(kDHDT, perspective())) { |
+ headers_stream_->DisableHpackDynamicTable(); |
+ } |
+} |
+ |
} // namespace net |