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

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

Issue 512933005: Fix a QUIC bug in which PING frames were not being ACK'd. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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 | « no previous file | 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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 EncryptionLevel last_decrypted_packet_level_; 686 EncryptionLevel last_decrypted_packet_level_;
687 QuicPacketHeader last_header_; 687 QuicPacketHeader last_header_;
688 std::vector<QuicStreamFrame> last_stream_frames_; 688 std::vector<QuicStreamFrame> last_stream_frames_;
689 std::vector<QuicAckFrame> last_ack_frames_; 689 std::vector<QuicAckFrame> last_ack_frames_;
690 std::vector<QuicCongestionFeedbackFrame> last_congestion_frames_; 690 std::vector<QuicCongestionFeedbackFrame> last_congestion_frames_;
691 std::vector<QuicStopWaitingFrame> last_stop_waiting_frames_; 691 std::vector<QuicStopWaitingFrame> last_stop_waiting_frames_;
692 std::vector<QuicRstStreamFrame> last_rst_frames_; 692 std::vector<QuicRstStreamFrame> last_rst_frames_;
693 std::vector<QuicGoAwayFrame> last_goaway_frames_; 693 std::vector<QuicGoAwayFrame> last_goaway_frames_;
694 std::vector<QuicWindowUpdateFrame> last_window_update_frames_; 694 std::vector<QuicWindowUpdateFrame> last_window_update_frames_;
695 std::vector<QuicBlockedFrame> last_blocked_frames_; 695 std::vector<QuicBlockedFrame> last_blocked_frames_;
696 std::vector<QuicPingFrame> last_ping_frames_;
696 std::vector<QuicConnectionCloseFrame> last_close_frames_; 697 std::vector<QuicConnectionCloseFrame> last_close_frames_;
697 698
698 QuicCongestionFeedbackFrame outgoing_congestion_feedback_; 699 QuicCongestionFeedbackFrame outgoing_congestion_feedback_;
699 700
700 // Track some peer state so we can do less bookkeeping 701 // Track some peer state so we can do less bookkeeping
701 // Largest sequence sent by the peer which had an ack frame (latest ack info). 702 // Largest sequence sent by the peer which had an ack frame (latest ack info).
702 QuicPacketSequenceNumber largest_seen_packet_with_ack_; 703 QuicPacketSequenceNumber largest_seen_packet_with_ack_;
703 704
704 // Largest sequence number sent by the peer which had a stop waiting frame. 705 // Largest sequence number sent by the peer which had a stop waiting frame.
705 QuicPacketSequenceNumber largest_seen_packet_with_stop_waiting_; 706 QuicPacketSequenceNumber largest_seen_packet_with_stop_waiting_;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 // If non-empty this contains the set of versions received in a 807 // If non-empty this contains the set of versions received in a
807 // version negotiation packet. 808 // version negotiation packet.
808 QuicVersionVector server_supported_versions_; 809 QuicVersionVector server_supported_versions_;
809 810
810 DISALLOW_COPY_AND_ASSIGN(QuicConnection); 811 DISALLOW_COPY_AND_ASSIGN(QuicConnection);
811 }; 812 };
812 813
813 } // namespace net 814 } // namespace net
814 815
815 #endif // NET_QUIC_QUIC_CONNECTION_H_ 816 #endif // NET_QUIC_QUIC_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698