blob: aca4b2b31acdb81ff8dd13d9186d12857aa8df92 [file] [log] [blame]
Akash Reddy Kankanalac6b6ca12025-06-12 14:26:57 +05301// Copyright 2021 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.18
6// +build go1.18
7
8package http2
9
10import (
11 "crypto/tls"
12 "net"
13)
14
15func tlsUnderlyingConn(tc *tls.Conn) net.Conn {
16 return tc.NetConn()
17}