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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 | 973 |
974 // The size of the largest packet received from peer. | 974 // The size of the largest packet received from peer. |
975 QuicByteCount largest_received_packet_size_; | 975 QuicByteCount largest_received_packet_size_; |
976 | 976 |
977 // Whether a GoAway has been sent. | 977 // Whether a GoAway has been sent. |
978 bool goaway_sent_; | 978 bool goaway_sent_; |
979 | 979 |
980 // Whether a GoAway has been received. | 980 // Whether a GoAway has been received. |
981 bool goaway_received_; | 981 bool goaway_received_; |
982 | 982 |
| 983 // If true, multipath is enabled for this connection. |
| 984 bool multipath_enabled_; |
| 985 |
983 DISALLOW_COPY_AND_ASSIGN(QuicConnection); | 986 DISALLOW_COPY_AND_ASSIGN(QuicConnection); |
984 }; | 987 }; |
985 | 988 |
986 } // namespace net | 989 } // namespace net |
987 | 990 |
988 #endif // NET_QUIC_QUIC_CONNECTION_H_ | 991 #endif // NET_QUIC_QUIC_CONNECTION_H_ |
OLD | NEW |