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

Unified Diff: net/quic/quic_crypto_server_stream.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_data_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 baf8a9360567fc6184aa1e9d6360fe85ef7f3f70..50a6da4d774ce4c9908a34f7d4483b0da1450a6a 100644
--- a/net/quic/quic_crypto_server_stream.cc
+++ b/net/quic/quic_crypto_server_stream.cc
@@ -164,11 +164,11 @@ void QuicCryptoServerStream::SendServerConfigUpdate(
CryptoHandshakeMessage server_config_update_message;
if (!crypto_config_.BuildServerConfigUpdateMessage(
+ session()->connection()->self_address(),
session()->connection()->peer_address(),
session()->connection()->clock(),
session()->connection()->random_generator(),
- crypto_negotiated_params_,
- cached_network_params,
+ crypto_negotiated_params_, cached_network_params,
&server_config_update_message)) {
DVLOG(1) << "Server: Failed to build server config update (SCUP)!";
return;
@@ -234,14 +234,14 @@ QuicErrorCode QuicCryptoServerStream::ProcessClientHello(
}
return crypto_config_.ProcessClientHello(
- result,
- session()->connection()->connection_id(),
+ result, session()->connection()->connection_id(),
+ session()->connection()->self_address(),
session()->connection()->peer_address(),
session()->connection()->version(),
session()->connection()->supported_versions(),
session()->connection()->clock(),
- session()->connection()->random_generator(),
- &crypto_negotiated_params_, reply, error_details);
+ session()->connection()->random_generator(), &crypto_negotiated_params_,
+ reply, error_details);
}
void QuicCryptoServerStream::OverrideQuicConfigDefaults(QuicConfig* config) {
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_data_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698