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

add an error code for rejecting new connections #1137

Merged
merged 3 commits into from
Mar 2, 2018
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
12 changes: 10 additions & 2 deletions draft-ietf-quic-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,11 @@ server continues below.

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.
This commits the server to the version that the client selected.

If a server isn't currently accepting any new connections, it SHOULD send a
Handshake packet containing a CONNECTION_CLOSE frame with error code
SERVER_BUSY.

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
Expand Down Expand Up @@ -3676,6 +3679,10 @@ INTERNAL_ERROR (0x1):
: The endpoint encountered an internal error and cannot continue with the
connection.

SERVER_BUSY (0x2):

: The server is currently busy and does not accept any new connections.

FLOW_CONTROL_ERROR (0x3):

: An endpoint received more data than it permitted in its advertised data limits
Expand Down Expand Up @@ -3928,6 +3935,7 @@ the range from 0xFE00 to 0xFFFF.
|:------------|:--------------------------|:------------------------------|:----------------|
| 0x0 | NO_ERROR | No error | {{error-codes}} |
| 0x1 | INTERNAL_ERROR | Implementation error | {{error-codes}} |
| 0x2 | SERVER_BUSY | Server currently busy | {{error-codes}} |
| 0x3 | FLOW_CONTROL_ERROR | Flow control error | {{error-codes}} |
| 0x4 | STREAM_ID_ERROR | Invalid stream ID | {{error-codes}} |
| 0x5 | STREAM_STATE_ERROR | Frame received in invalid stream state | {{error-codes}} |
Expand Down