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 // The entity that handles framing writes for a Quic client or server. | 5 // The entity that handles framing writes for a Quic client or server. |
6 // Each QuicSession will have a connection associated with it. | 6 // Each QuicSession will have a connection associated with it. |
7 // | 7 // |
8 // On the server side, the Dispatcher handles the raw reads, and hands off | 8 // On the server side, the Dispatcher handles the raw reads, and hands off |
9 // packets via ProcessUdpPacket for framing and processing. | 9 // packets via ProcessUdpPacket for framing and processing. |
10 // | 10 // |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1072 | 1072 |
1073 // The size of the largest packet received from peer. | 1073 // The size of the largest packet received from peer. |
1074 QuicByteCount largest_received_packet_size_; | 1074 QuicByteCount largest_received_packet_size_; |
1075 | 1075 |
1076 // Whether a GoAway has been sent. | 1076 // Whether a GoAway has been sent. |
1077 bool goaway_sent_; | 1077 bool goaway_sent_; |
1078 | 1078 |
1079 // Whether a GoAway has been received. | 1079 // Whether a GoAway has been received. |
1080 bool goaway_received_; | 1080 bool goaway_received_; |
1081 | 1081 |
1082 // If true, multipath is enabled for this connection. | |
1083 bool multipath_enabled_; | |
1084 | |
1085 // Indicates whether a write error is encountered currently. This is used to | 1082 // Indicates whether a write error is encountered currently. This is used to |
1086 // avoid infinite write errors. | 1083 // avoid infinite write errors. |
1087 bool write_error_occured_; | 1084 bool write_error_occured_; |
1088 | 1085 |
1089 // Indicates not to send or process stop waiting frames. | 1086 // Indicates not to send or process stop waiting frames. |
1090 bool no_stop_waiting_frames_; | 1087 bool no_stop_waiting_frames_; |
1091 | 1088 |
1092 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 1089 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
1093 }; | 1090 }; |
1094 | 1091 |
1095 } // namespace net | 1092 } // namespace net |
1096 | 1093 |
1097 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_ | 1094 #endif // NET_QUIC_CORE_QUIC_CONNECTION_H_ |
OLD | NEW |