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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_config_test.cc ('k') | net/quic/quic_connection.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 // 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 bool pending_version_negotiation_packet_; 738 bool pending_version_negotiation_packet_;
739 739
740 // When packets could not be sent because the socket was not writable, 740 // When packets could not be sent because the socket was not writable,
741 // they are added to this list. All corresponding frames are in 741 // they are added to this list. All corresponding frames are in
742 // unacked_packets_ if they are to be retransmitted. 742 // unacked_packets_ if they are to be retransmitted.
743 QueuedPacketList queued_packets_; 743 QueuedPacketList queued_packets_;
744 744
745 // Contains the connection close packet if the connection has been closed. 745 // Contains the connection close packet if the connection has been closed.
746 scoped_ptr<QuicEncryptedPacket> connection_close_packet_; 746 scoped_ptr<QuicEncryptedPacket> connection_close_packet_;
747 747
748 // When true, the connection does not send a close packet on timeout.
749 bool silent_close_enabled_;
750
748 FecGroupMap group_map_; 751 FecGroupMap group_map_;
749 752
750 QuicReceivedPacketManager received_packet_manager_; 753 QuicReceivedPacketManager received_packet_manager_;
751 QuicSentEntropyManager sent_entropy_manager_; 754 QuicSentEntropyManager sent_entropy_manager_;
752 755
753 // Indicates whether an ack should be sent the next time we try to write. 756 // Indicates whether an ack should be sent the next time we try to write.
754 bool ack_queued_; 757 bool ack_queued_;
755 // Indicates how many consecutive packets have arrived without sending an ack. 758 // Indicates how many consecutive packets have arrived without sending an ack.
756 QuicPacketCount num_packets_received_since_last_ack_sent_; 759 QuicPacketCount num_packets_received_since_last_ack_sent_;
757 // Indicates how many consecutive times an ack has arrived which indicates 760 // Indicates how many consecutive times an ack has arrived which indicates
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 841
839 // True if this is a secure QUIC connection. 842 // True if this is a secure QUIC connection.
840 bool is_secure_; 843 bool is_secure_;
841 844
842 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 845 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
843 }; 846 };
844 847
845 } // namespace net 848 } // namespace net
846 849
847 #endif // NET_QUIC_QUIC_CONNECTION_H_ 850 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698