diff options
Diffstat (limited to 'src/net/http/server.go')
| -rw-r--r-- | src/net/http/server.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/http/server.go b/src/net/http/server.go index 9cbc0c8186..371c660145 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -2973,6 +2973,12 @@ type Server struct { // value. ConnContext func(ctx context.Context, c net.Conn) context.Context + // HTTP2 configures HTTP/2 connections. + // + // This field does not yet have any effect. + // See https://go.dev/issue/67813. + HTTP2 *HTTP2Config + inShutdown atomic.Bool // true when server is in shutdown disableKeepAlives atomic.Bool |
