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

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

Issue 699433002: QUIC: Only send a new SCUP if enough packets have been sent since the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Fixes_reduction_for_n_connection_78812645
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_server_session.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // A server specific QuicSession subclass. 5 // A server specific QuicSession subclass.
6 6
7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_ 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_
8 #define NET_QUIC_QUIC_SERVER_SESSION_H_ 8 #define NET_QUIC_QUIC_SERVER_SESSION_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 QuicServerSessionVisitor* visitor_; 92 QuicServerSessionVisitor* visitor_;
93 93
94 // The most recent bandwidth estimate sent to the client. 94 // The most recent bandwidth estimate sent to the client.
95 QuicBandwidth bandwidth_estimate_sent_to_client_; 95 QuicBandwidth bandwidth_estimate_sent_to_client_;
96 96
97 // Text describing server location. Sent to the client as part of the bandwith 97 // Text describing server location. Sent to the client as part of the bandwith
98 // estimate in the source-address token. Optional, can be left empty. 98 // estimate in the source-address token. Optional, can be left empty.
99 string serving_region_; 99 string serving_region_;
100 100
101 // Time at which we send the last SCUP to the client. 101 // Time at which we send the last SCUP to the client.
102 QuicTime last_server_config_update_time_; 102 QuicTime last_scup_time_;
103
104 // Number of packets sent to the peer, at the time we last sent a SCUP.
105 int64 last_scup_sequence_number_;
103 106
104 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); 107 DISALLOW_COPY_AND_ASSIGN(QuicServerSession);
105 }; 108 };
106 109
107 } // namespace net 110 } // namespace net
108 111
109 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_ 112 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698