Skip to content

Commit efe2996

Browse files
formatting of error code
1 parent 3331a50 commit efe2996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/http3/server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ defer cancel()
126126
server.Shutdown(ctx)
127127
```
128128

129-
On the wire, graceful shutdown is signaled by sending a GOAWAY frame. This tells clients that the server will not accept any new requests. Requests received after sending the GOAWAY frame are rejected (using the H3_REQUEST_REJECTED error code). Existing connections are not closed; clients are expected to close them after they finish processing their requests.
129+
On the wire, graceful shutdown is signaled by sending a GOAWAY frame. This tells clients that the server will not accept any new requests. Requests received after sending the GOAWAY frame are rejected (using the `H3_REQUEST_REJECTED` error code). Existing connections are not closed; clients are expected to close them after they finish processing their requests.
130130

131131
`Shutdown` returns when all existing connections have been closed, or when the context is canceled. In that case, all remaining active QUIC connections are closed, which abruptly terminates the remaining requests.
132132

0 commit comments

Comments
 (0)