summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_crypto_server_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_crypto_server_stream.cc')
-rw-r--r--net/quic/quic_crypto_server_stream.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/quic/quic_crypto_server_stream.cc b/net/quic/quic_crypto_server_stream.cc
index c9ed0ece..62b7795 100644
--- a/net/quic/quic_crypto_server_stream.cc
+++ b/net/quic/quic_crypto_server_stream.cc
@@ -91,6 +91,7 @@ void QuicCryptoServerStream::FinishProcessingHandshakeMessage(
// If we are returning a SHLO then we accepted the handshake.
QuicConfig* config = session()->config();
+ OverrideQuicConfigDefaults(config);
error = config->ProcessPeerHello(message, CLIENT, &error_details);
if (error != QUIC_NO_ERROR) {
CloseConnectionWithDetails(error, error_details);
@@ -172,12 +173,15 @@ QuicErrorCode QuicCryptoServerStream::ProcessClientHello(
session()->connection()->peer_address(),
session()->connection()->version(),
session()->connection()->supported_versions(),
- session()->connection()->max_flow_control_receive_window_bytes(),
+ session()->max_flow_control_receive_window_bytes(),
session()->connection()->clock(),
session()->connection()->random_generator(),
&crypto_negotiated_params_, reply, error_details);
}
+void QuicCryptoServerStream::OverrideQuicConfigDefaults(QuicConfig* config) {
+}
+
QuicCryptoServerStream::ValidateCallback::ValidateCallback(
QuicCryptoServerStream* parent) : parent_(parent) {
}