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

Side by Side Diff: net/quic/core/quic_config.cc

Issue 2236973002: Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: flip quic_sequencer_buffer_retire_block_in_time to true Created 4 years, 4 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 | « net/quic/core/quic_client_session_base.cc ('k') | net/quic/core/quic_config_test.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "net/quic/core/quic_config.h" 5 #include "net/quic/core/quic_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/quic/core/crypto/crypto_handshake_message.h" 10 #include "net/quic/core/crypto/crypto_handshake_message.h"
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 max_streams_per_connection_.ToHandshakeMessage(out); 687 max_streams_per_connection_.ToHandshakeMessage(out);
688 max_incoming_dynamic_streams_.ToHandshakeMessage(out); 688 max_incoming_dynamic_streams_.ToHandshakeMessage(out);
689 bytes_for_connection_id_.ToHandshakeMessage(out); 689 bytes_for_connection_id_.ToHandshakeMessage(out);
690 initial_round_trip_time_us_.ToHandshakeMessage(out); 690 initial_round_trip_time_us_.ToHandshakeMessage(out);
691 initial_stream_flow_control_window_bytes_.ToHandshakeMessage(out); 691 initial_stream_flow_control_window_bytes_.ToHandshakeMessage(out);
692 initial_session_flow_control_window_bytes_.ToHandshakeMessage(out); 692 initial_session_flow_control_window_bytes_.ToHandshakeMessage(out);
693 socket_receive_buffer_.ToHandshakeMessage(out); 693 socket_receive_buffer_.ToHandshakeMessage(out);
694 connection_migration_disabled_.ToHandshakeMessage(out); 694 connection_migration_disabled_.ToHandshakeMessage(out);
695 connection_options_.ToHandshakeMessage(out); 695 connection_options_.ToHandshakeMessage(out);
696 alternate_server_address_.ToHandshakeMessage(out); 696 alternate_server_address_.ToHandshakeMessage(out);
697 force_hol_blocking_.ToHandshakeMessage(out);
697 } 698 }
698 699
699 QuicErrorCode QuicConfig::ProcessPeerHello( 700 QuicErrorCode QuicConfig::ProcessPeerHello(
700 const CryptoHandshakeMessage& peer_hello, 701 const CryptoHandshakeMessage& peer_hello,
701 HelloType hello_type, 702 HelloType hello_type,
702 string* error_details) { 703 string* error_details) {
703 DCHECK(error_details != nullptr); 704 DCHECK(error_details != nullptr);
704 705
705 QuicErrorCode error = QUIC_NO_ERROR; 706 QuicErrorCode error = QUIC_NO_ERROR;
706 if (error == QUIC_NO_ERROR) { 707 if (error == QUIC_NO_ERROR) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 peer_hello, hello_type, error_details); 745 peer_hello, hello_type, error_details);
745 } 746 }
746 if (error == QUIC_NO_ERROR) { 747 if (error == QUIC_NO_ERROR) {
747 error = connection_options_.ProcessPeerHello(peer_hello, hello_type, 748 error = connection_options_.ProcessPeerHello(peer_hello, hello_type,
748 error_details); 749 error_details);
749 } 750 }
750 if (error == QUIC_NO_ERROR) { 751 if (error == QUIC_NO_ERROR) {
751 error = alternate_server_address_.ProcessPeerHello(peer_hello, hello_type, 752 error = alternate_server_address_.ProcessPeerHello(peer_hello, hello_type,
752 error_details); 753 error_details);
753 } 754 }
755 if (error == QUIC_NO_ERROR) {
756 error = force_hol_blocking_.ProcessPeerHello(peer_hello, hello_type,
757 error_details);
758 }
754 return error; 759 return error;
755 } 760 }
756 761
757 } // namespace net 762 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_client_session_base.cc ('k') | net/quic/core/quic_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698