Index: net/tools/quic/quic_server_session_base.cc |
diff --git a/net/tools/quic/quic_server_session_base.cc b/net/tools/quic/quic_server_session_base.cc |
index e2341906bdf04c12279a7b3e9e3ca59dbea43e9c..779a786ed2627b934152bd76a93c75869b443d7b 100644 |
--- a/net/tools/quic/quic_server_session_base.cc |
+++ b/net/tools/quic/quic_server_session_base.cc |
@@ -29,7 +29,8 @@ QuicServerSessionBase::QuicServerSessionBase( |
bandwidth_resumption_enabled_(false), |
bandwidth_estimate_sent_to_client_(QuicBandwidth::Zero()), |
last_scup_time_(QuicTime::Zero()), |
- last_scup_packet_number_(0) {} |
+ last_scup_packet_number_(0), |
+ server_push_enabled_(false) {} |
QuicServerSessionBase::~QuicServerSessionBase() {} |
@@ -53,6 +54,8 @@ void QuicServerSessionBase::OnConfigNegotiated() { |
ContainsQuicTag(config()->ReceivedConnectionOptions(), kBWMX); |
bandwidth_resumption_enabled_ = |
last_bandwidth_resumption || max_bandwidth_resumption; |
+ server_push_enabled_ = |
+ ContainsQuicTag(config()->ReceivedConnectionOptions(), kSPSH); |
// If the client has provided a bandwidth estimate from the same serving |
// region as this server, then decide whether to use the data for bandwidth |