summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/http2/config_pre_go124.go
blob: 060fd6c64c6ca7f786f44cfd11ba601cbda9fc9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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) {}