Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update
Browse files Browse the repository at this point in the history
Nicole00 committed Jan 5, 2024
1 parent e1ca909 commit 45f0cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session_pool.go
Original file line number Diff line number Diff line change
@@ -287,7 +287,7 @@ func (pool *SessionPool) newSession() (*pureSession, error) {

// open a new connection
if err := cn.open(cn.severAddress, pool.conf.timeOut, pool.conf.sslConfig,
pool.conf.useHTTP2, pool.conf.httpHeader, pool.conf.HandshakeKey); err != nil {
pool.conf.useHTTP2, pool.conf.httpHeader, pool.conf.handshakeKey); err != nil {
return nil, fmt.Errorf("failed to create a net.Conn-backed Transport,: %s", err.Error())
}

0 comments on commit 45f0cd1

Please sign in to comment.