OLD | NEW |
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 // A toy server, which listens on a specified address for QUIC traffic and | 5 // A toy server, which listens on a specified address for QUIC traffic and |
6 // handles incoming responses. | 6 // handles incoming responses. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_H_ |
9 #define NET_TOOLS_QUIC_QUIC_SERVER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_SERVER_H_ |
10 | 10 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 QuicConfig config_; | 126 QuicConfig config_; |
127 // crypto_config_ contains crypto parameters for the handshake. | 127 // crypto_config_ contains crypto parameters for the handshake. |
128 QuicCryptoServerConfig crypto_config_; | 128 QuicCryptoServerConfig crypto_config_; |
129 | 129 |
130 // This vector contains QUIC versions which we currently support. | 130 // This vector contains QUIC versions which we currently support. |
131 // This should be ordered such that the highest supported version is the first | 131 // This should be ordered such that the highest supported version is the first |
132 // element, with subsequent elements in descending order (versions can be | 132 // element, with subsequent elements in descending order (versions can be |
133 // skipped as necessary). | 133 // skipped as necessary). |
134 QuicVersionVector supported_versions_; | 134 QuicVersionVector supported_versions_; |
135 | 135 |
136 // Size of flow control receive window to advertise to clients on new | |
137 // connections. | |
138 uint32 server_initial_flow_control_receive_window_; | |
139 | |
140 DISALLOW_COPY_AND_ASSIGN(QuicServer); | 136 DISALLOW_COPY_AND_ASSIGN(QuicServer); |
141 }; | 137 }; |
142 | 138 |
143 } // namespace tools | 139 } // namespace tools |
144 } // namespace net | 140 } // namespace net |
145 | 141 |
146 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ | 142 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ |
OLD | NEW |