Update lib

This commit is contained in:
xing-yang
2023-10-15 00:12:10 +00:00
parent 46c9845c2e
commit 5ceee78eeb
89 changed files with 586 additions and 2209 deletions

View File

@@ -291,8 +291,7 @@ func (t *Transport) initConnPool() {
// HTTP/2 server.
type ClientConn struct {
t *Transport
tconn net.Conn // usually *tls.Conn, except specialized impls
tconnClosed bool
tconn net.Conn // usually *tls.Conn, except specialized impls
tlsState *tls.ConnectionState // nil only for specialized impls
reused uint32 // whether conn is being reused; atomic
singleUse bool // whether being used for a single http.Request