Skip to content

Commit

Permalink
Merge pull request #4331 from quicwg/no-viable-path
Browse files Browse the repository at this point in the history
Add an error code for when the path fails
  • Loading branch information
martinthomson committed Nov 5, 2020
2 parents 593d552 + 2ffb2ab commit bbc0711
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion draft-ietf-quic-transport.md
Expand Up @@ -2311,7 +2311,10 @@ When an endpoint abandons path validation, it determines that the path is
unusable. This does not necessarily imply a failure of the connection -
endpoints can continue sending packets over other paths as appropriate. If no
paths are available, an endpoint can wait for a new path to become available or
close the connection.
close the connection. An endpoint that has no valid network path to its peer
MAY signal this using the NO_VIABLE_PATH connection error, noting that this is
only possible if the network path exists but does not support the required
MTU {{datagram-size}}.

A path validation might be abandoned for other reasons besides
failure. Primarily, this happens if a connection migration to a new path is
Expand Down Expand Up @@ -6411,6 +6414,12 @@ AEAD_LIMIT_REACHED (0xf):
: An endpoint has reached the confidentiality or integrity limit for the AEAD
algorithm used by the given connection.

NO_VIABLE_PATH (0x10):

: An endpoint has determined that the network path is incapable of supporting
QUIC. An endpoint is unlikely to receive CONNECTION_CLOSE carrying this code
except when the path does not support a large enough MTU.

CRYPTO_ERROR (0x1XX):

: The cryptographic handshake failed. A range of 256 values is reserved for
Expand Down Expand Up @@ -7466,6 +7475,7 @@ The initial contents of this registry are shown in {{iana-error-table}}.
| 0xd | CRYPTO_BUFFER_EXCEEDED | CRYPTO data buffer overflowed | {{error-codes}} |
| 0xe | KEY_UPDATE_ERROR | Invalid packet protection update | {{error-codes}} |
| 0xf | AEAD_LIMIT_REACHED | Excessive use of packet protection keys | {{error-codes}} |
| 0x10 | NO_VIABLE_PATH | No viable network path exists | {{error-codes}} |
{: #iana-error-table title="Initial QUIC Transport Error Codes Entries"}


Expand Down

0 comments on commit bbc0711

Please sign in to comment.