config_go126.go raw

   1  // Copyright 2025 The Go Authors. All rights reserved.
   2  // Use of this source code is governed by a BSD-style
   3  // license that can be found in the LICENSE file.
   4  
   5  //go:build go1.26
   6  
   7  package http2
   8  
   9  import (
  10  	"net/http"
  11  )
  12  
  13  func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool {
  14  	return h2.StrictMaxConcurrentRequests
  15  }
  16