Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename SERVER_BUSY to CONNECTION_REFUSED #3694

Merged
merged 1 commit into from
May 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions draft-ietf-quic-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,8 @@ If the packet is an Initial packet fully conforming with the specification, the
server proceeds with the handshake ({{handshake}}). This commits the server to
the version that the client selected.

If a server isn't currently accepting any new connections, it SHOULD send an
Initial packet containing a CONNECTION_CLOSE frame with error code
SERVER_BUSY.
If a server refuses to accept a new connection, it SHOULD send an Initial packet
containing a CONNECTION_CLOSE frame with error code CONNECTION_REFUSED.

If the packet is a 0-RTT packet, the server MAY buffer a limited number of these
packets in anticipation of a late-arriving Initial packet. Clients are not able
Expand Down Expand Up @@ -5927,9 +5926,9 @@ INTERNAL_ERROR (0x1):
: The endpoint encountered an internal error and cannot continue with the
connection.

SERVER_BUSY (0x2):
CONNECTION_REFUSED (0x2):

: The server is currently busy and does not accept any new connections.
: The server refused to accept a new connection.

FLOW_CONTROL_ERROR (0x3):

Expand Down Expand Up @@ -6778,7 +6777,7 @@ The initial contents of this registry are shown in {{iana-error-table}}.
|:------|:--------------------------|:------------------------------|:----------------|
| 0x0 | NO_ERROR | No error | {{error-codes}} |
| 0x1 | INTERNAL_ERROR | Implementation error | {{error-codes}} |
| 0x2 | SERVER_BUSY | Server currently busy | {{error-codes}} |
| 0x2 | CONNECTION_REFUSED_ERROR | Server refuses a connection | {{error-codes}} |
| 0x3 | FLOW_CONTROL_ERROR | Flow control error | {{error-codes}} |
| 0x4 | STREAM_LIMIT_ERROR | Too many streams opened | {{error-codes}} |
| 0x5 | STREAM_STATE_ERROR | Frame received in invalid stream state | {{error-codes}} |
Expand Down