diff options
author | 2024-10-07 12:02:26 +0000 | |
---|---|---|
committer | 2024-10-07 12:02:26 +0000 | |
commit | 33bd97a535834de4cec1b331ed511cb1ea49c4fe (patch) | |
tree | aeaf0edf99c78f630456b8b167982c613138133f /vendor/golang.org/x/net/http2/config_pre_go124.go | |
parent | update go-ffmpreg to v0.3.1 (pulls in latest wazero too) (#3398) (diff) | |
download | gotosocial-33bd97a535834de4cec1b331ed511cb1ea49c4fe.tar.xz |
[chore]: Bump golang.org/x/net from 0.29.0 to 0.30.0 (#3402)
Diffstat (limited to 'vendor/golang.org/x/net/http2/config_pre_go124.go')
-rw-r--r-- | vendor/golang.org/x/net/http2/config_pre_go124.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/http2/config_pre_go124.go b/vendor/golang.org/x/net/http2/config_pre_go124.go new file mode 100644 index 000000000..060fd6c64 --- /dev/null +++ b/vendor/golang.org/x/net/http2/config_pre_go124.go @@ -0,0 +1,16 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !go1.24 + +package http2 + +import "net/http" + +// Pre-Go 1.24 fallback. +// The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24. + +func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {} + +func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {} |