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

Side by Side Diff: net/quic/quic_stream_factory.h

Issue 186293002: Disable QUIC port selection when the server is going away. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_FACTORY_H_
6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_ 6 #define NET_QUIC_QUIC_STREAM_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Contains owning pointers to all sessions that currently exist. 217 // Contains owning pointers to all sessions that currently exist.
218 SessionSet all_sessions_; 218 SessionSet all_sessions_;
219 // Contains non-owning pointers to currently active session 219 // Contains non-owning pointers to currently active session
220 // (not going away session, once they're implemented). 220 // (not going away session, once they're implemented).
221 SessionMap active_sessions_; 221 SessionMap active_sessions_;
222 // Map from session to set of aliases that this session is known by. 222 // Map from session to set of aliases that this session is known by.
223 SessionAliasMap session_aliases_; 223 SessionAliasMap session_aliases_;
224 // Map from IP address to sessions which are connected to this address. 224 // Map from IP address to sessions which are connected to this address.
225 IPAliasMap ip_aliases_; 225 IPAliasMap ip_aliases_;
226 226
227 // Origins which have gone away recently.
228 AliasSet gone_away_aliases_;
229
227 // Contains owning pointers to QuicCryptoClientConfig. QuicCryptoClientConfig 230 // Contains owning pointers to QuicCryptoClientConfig. QuicCryptoClientConfig
228 // contains configuration and cached state about servers. 231 // contains configuration and cached state about servers.
229 // TODO(rtenneti): Persist all_crypto_configs_ to disk and decide when to 232 // TODO(rtenneti): Persist all_crypto_configs_ to disk and decide when to
230 // clear the data in the map. 233 // clear the data in the map.
231 CryptoConfigMap all_crypto_configs_; 234 CryptoConfigMap all_crypto_configs_;
232 235
233 // Contains a map of servers which could share the same server config. Map 236 // Contains a map of servers which could share the same server config. Map
234 // from a Canonical host/port (host is some postfix of host names) to an 237 // from a Canonical host/port (host is some postfix of host names) to an
235 // actual origin, which has a plausible set of initial certificates (or at 238 // actual origin, which has a plausible set of initial certificates (or at
236 // least server public key). 239 // least server public key).
(...skipping 28 matching lines...) Expand all
265 uint64 port_seed_; 268 uint64 port_seed_;
266 269
267 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; 270 base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
268 271
269 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); 272 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);
270 }; 273 };
271 274
272 } // namespace net 275 } // namespace net
273 276
274 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_ 277 #endif // NET_QUIC_QUIC_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698