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

Unified Diff: net/quic/quic_crypto_server_stream.cc

Issue 288313003: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: implemented rch's comments Created 6 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
Index: net/quic/quic_crypto_server_stream.cc
diff --git a/net/quic/quic_crypto_server_stream.cc b/net/quic/quic_crypto_server_stream.cc
index c9ed0ece69750738affaea5593a3bb09d679e901..62b779534eec49819d31a6a82c8522c0df25d498 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) {
}

Powered by Google App Engine
This is Rietveld 408576698