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

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

Issue 1208933004: QUIC - disable QUIC under recent pathological connection errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: net-internals additions Created 5 years, 5 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
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 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <limits> 10 #include <limits>
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 // The connection has been IP pooled into an existing connection. 535 // The connection has been IP pooled into an existing connection.
536 QUIC_CONNECTION_IP_POOLED = 62, 536 QUIC_CONNECTION_IP_POOLED = 62,
537 // The connection has too many outstanding sent packets. 537 // The connection has too many outstanding sent packets.
538 QUIC_TOO_MANY_OUTSTANDING_SENT_PACKETS = 68, 538 QUIC_TOO_MANY_OUTSTANDING_SENT_PACKETS = 68,
539 // The connection has too many outstanding received packets. 539 // The connection has too many outstanding received packets.
540 QUIC_TOO_MANY_OUTSTANDING_RECEIVED_PACKETS = 69, 540 QUIC_TOO_MANY_OUTSTANDING_RECEIVED_PACKETS = 69,
541 // The quic connection job to load server config is cancelled. 541 // The quic connection job to load server config is cancelled.
542 QUIC_CONNECTION_CANCELLED = 70, 542 QUIC_CONNECTION_CANCELLED = 70,
543 // Disabled QUIC because of high packet loss rate. 543 // Disabled QUIC because of high packet loss rate.
544 QUIC_BAD_PACKET_LOSS_RATE = 71, 544 QUIC_BAD_PACKET_LOSS_RATE = 71,
545 // Disabled QUIC because of too many PUBLIC_RESETs post handshake.
546 QUIC_PUBLIC_RESETS_POST_HANDSHAKE = 72,
547 // Disabled QUIC because of too many timeouts with streams open.
548 QUIC_TIMEOUTS_WITH_OPEN_STREAMS = 73,
Ryan Hamilton 2015/07/06 18:25:41 Since you're using the QuicDisabledReason enum, ar
Buck 2015/07/06 21:39:32 I think so, yes. These are used in QuicStreamFact
545 549
546 // Crypto errors. 550 // Crypto errors.
547 551
548 // Hanshake failed. 552 // Hanshake failed.
549 QUIC_HANDSHAKE_FAILED = 28, 553 QUIC_HANDSHAKE_FAILED = 28,
550 // Handshake message contained out of order tags. 554 // Handshake message contained out of order tags.
551 QUIC_CRYPTO_TAGS_OUT_OF_ORDER = 29, 555 QUIC_CRYPTO_TAGS_OUT_OF_ORDER = 29,
552 // Handshake message contained too many entries. 556 // Handshake message contained too many entries.
553 QUIC_CRYPTO_TOO_MANY_ENTRIES = 30, 557 QUIC_CRYPTO_TOO_MANY_ENTRIES = 30,
554 // Handshake message contained an invalid value length. 558 // Handshake message contained an invalid value length.
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1093 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1090 1094
1091 const struct iovec* iov; 1095 const struct iovec* iov;
1092 const int iov_count; 1096 const int iov_count;
1093 const size_t total_length; 1097 const size_t total_length;
1094 }; 1098 };
1095 1099
1096 } // namespace net 1100 } // namespace net
1097 1101
1098 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1102 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698