| 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 #ifndef NET_QUIC_CORE_QUIC_ERROR_CODES_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_ERROR_CODES_H_ |
| 6 #define NET_QUIC_CORE_QUIC_ERROR_CODES_H_ | 6 #define NET_QUIC_CORE_QUIC_ERROR_CODES_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <limits> | 9 #include <limits> |
| 10 | 10 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // The connection has too many outstanding sent packets. | 167 // The connection has too many outstanding sent packets. |
| 168 QUIC_TOO_MANY_OUTSTANDING_SENT_PACKETS = 68, | 168 QUIC_TOO_MANY_OUTSTANDING_SENT_PACKETS = 68, |
| 169 // The connection has too many outstanding received packets. | 169 // The connection has too many outstanding received packets. |
| 170 QUIC_TOO_MANY_OUTSTANDING_RECEIVED_PACKETS = 69, | 170 QUIC_TOO_MANY_OUTSTANDING_RECEIVED_PACKETS = 69, |
| 171 // The quic connection has been cancelled. | 171 // The quic connection has been cancelled. |
| 172 QUIC_CONNECTION_CANCELLED = 70, | 172 QUIC_CONNECTION_CANCELLED = 70, |
| 173 // Disabled QUIC because of high packet loss rate. | 173 // Disabled QUIC because of high packet loss rate. |
| 174 QUIC_BAD_PACKET_LOSS_RATE = 71, | 174 QUIC_BAD_PACKET_LOSS_RATE = 71, |
| 175 // Disabled QUIC because of too many PUBLIC_RESETs post handshake. | 175 // Disabled QUIC because of too many PUBLIC_RESETs post handshake. |
| 176 QUIC_PUBLIC_RESETS_POST_HANDSHAKE = 73, | 176 QUIC_PUBLIC_RESETS_POST_HANDSHAKE = 73, |
| 177 // Disabled QUIC because of too many timeouts with streams open. | |
| 178 QUIC_TIMEOUTS_WITH_OPEN_STREAMS = 74, | |
| 179 // Closed because we failed to serialize a packet. | 177 // Closed because we failed to serialize a packet. |
| 180 QUIC_FAILED_TO_SERIALIZE_PACKET = 75, | 178 QUIC_FAILED_TO_SERIALIZE_PACKET = 75, |
| 181 // QUIC timed out after too many RTOs. | 179 // QUIC timed out after too many RTOs. |
| 182 QUIC_TOO_MANY_RTOS = 85, | 180 QUIC_TOO_MANY_RTOS = 85, |
| 183 | 181 |
| 184 // Crypto errors. | 182 // Crypto errors. |
| 185 | 183 |
| 186 // Handshake failed. | 184 // Handshake failed. |
| 187 QUIC_HANDSHAKE_FAILED = 28, | 185 QUIC_HANDSHAKE_FAILED = 28, |
| 188 // Handshake message contained out of order tags. | 186 // Handshake message contained out of order tags. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // Returns the name of the QuicRstStreamErrorCode as a char* | 284 // Returns the name of the QuicRstStreamErrorCode as a char* |
| 287 QUIC_EXPORT_PRIVATE const char* QuicRstStreamErrorCodeToString( | 285 QUIC_EXPORT_PRIVATE const char* QuicRstStreamErrorCodeToString( |
| 288 QuicRstStreamErrorCode error); | 286 QuicRstStreamErrorCode error); |
| 289 | 287 |
| 290 // Returns the name of the QuicErrorCode as a char* | 288 // Returns the name of the QuicErrorCode as a char* |
| 291 QUIC_EXPORT_PRIVATE const char* QuicErrorCodeToString(QuicErrorCode error); | 289 QUIC_EXPORT_PRIVATE const char* QuicErrorCodeToString(QuicErrorCode error); |
| 292 | 290 |
| 293 } // namespace net | 291 } // namespace net |
| 294 | 292 |
| 295 #endif // NET_QUIC_CORE_QUIC_ERROR_CODES_H_ | 293 #endif // NET_QUIC_CORE_QUIC_ERROR_CODES_H_ |
| OLD | NEW |