Skip to content

Commit

Permalink
graceful shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Oct 15, 2024
1 parent 6d80c7f commit 7d18336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/http3/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func(w http.ResponseWriter, r *http.Request) {

## Graceful Shutdown

The `http3.Server` can be gracefully shut down by calling the `Shutdown`. The server then stops accepting new connections. Existing connections are served until all active requests have completed.
The `http3.Server` can be gracefully closed by calling the `Shutdown`. The server then stops accepting new connections. Existing connections are served until all active requests have completed.

```go
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
Expand Down

0 comments on commit 7d18336

Please sign in to comment.