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

Unified Diff: net/tools/quic/quic_server.cc

Issue 15074007: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for windows Created 7 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
« no previous file with comments | « net/tools/quic/quic_reliable_client_stream_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.cc
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
index 7319c675fc8051c25bcb53cf63994fb9d240117e..a92c4ba6b4f3b5915f37bc7c9602016c9cfca2a4 100644
--- a/net/tools/quic/quic_server.cc
+++ b/net/tools/quic/quic_server.cc
@@ -46,19 +46,12 @@ QuicServer::QuicServer()
// Use hardcoded crypto parameters for now.
config_.SetDefaults();
- CryptoHandshakeMessage extra_tags;
- config_.ToHandshakeMessage(&extra_tags);
QuicEpollClock clock(&epoll_server_);
scoped_ptr<CryptoHandshakeMessage> scfg(
crypto_config_.AddDefaultConfig(
- QuicRandom::GetInstance(), &clock, extra_tags,
+ QuicRandom::GetInstance(), &clock,
QuicCryptoServerConfig::kDefaultExpiry));
- // If we were using the same config in many servers then we would have to
- // parse a QuicConfig from config_tags here.
- if (!config_.SetFromHandshakeMessage(*scfg)) {
- CHECK(false) << "Crypto config could not be parsed by QuicConfig.";
- }
}
QuicServer::~QuicServer() {
« no previous file with comments | « net/tools/quic/quic_reliable_client_stream_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698