From e40a044b37e3ff36b8b2abfbd0ed048d178e2a38 Mon Sep 17 00:00:00 2001 From: Patrick McManus Date: Thu, 21 Sep 2017 17:38:49 -0400 Subject: [PATCH] HTTP Integration Error Nits * error code space is 30 bits * error codes can be used with stop_sending * genericized CANCEL to indicate it can be used bidirectionally --- draft-ietf-quic-http.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/draft-ietf-quic-http.md b/draft-ietf-quic-http.md index 30f0ee27cc..7806430c5f 100644 --- a/draft-ietf-quic-http.md +++ b/draft-ietf-quic-http.md @@ -874,9 +874,9 @@ the cause of a connection or stream error. ## HTTP-Defined QUIC Error Codes {#http-error-codes} -QUIC allocates error codes 0x0000-0x3FFF to application protocol definition. The -following error codes are defined by HTTP for use in QUIC RST_STREAM and -CONNECTION_CLOSE frames. +QUIC allocates error codes 0x00000000-0x3FFFFFFF to application +protocol definition. The following error codes are defined by HTTP for +use in QUIC RST_STREAM, STOP_SENDING, and CONNECTION_CLOSE frames. HTTP_PUSH_REFUSED (0x01): : The server has attempted to push content which the client will not accept @@ -888,8 +888,8 @@ HTTP_INTERNAL_ERROR (0x02): HTTP_PUSH_ALREADY_IN_CACHE (0x03): : The server has attempted to push content which the client has cached. -HTTP_REQUEST_CANCELLED (0x04): -: The client no longer needs the requested data. +HTTP_CANCELLED (0x04): +: The peer no longer needs the message body. HTTP_HPACK_DECOMPRESSION_FAILED (0x05): : HPACK failed to decompress a frame and cannot continue.