NO_ERROR
NO_ERROR (0x0) indicates that no error occurred. It is used in GOAWAY frames to signal a graceful connection shutdown without error, and in RST_STREAM frames when a stream is being canceled cleanly. Despite the name, a GOAWAY with NO_ERROR closes the connection – it is not a keep-alive signal.
Code
0x0
Decimal
0
Standard
RFC 9113 §7
Description
NO_ERROR is the zero value and indicates graceful closure rather than a failure condition. A GOAWAY with NO_ERROR means the server is shutting down cleanly – all previously accepted streams will be processed but no new streams will be accepted. A RST_STREAM with NO_ERROR cancels a stream without indicating a protocol violation; the server processed the request but the client no longer needs the response. This is used in HTTP/2 request cancellation.
Common Causes
- –Graceful server shutdown sending GOAWAY
- –Client canceling a request with RST_STREAM before response is needed
- –Server-initiated connection close without error condition