diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-03-14 23:36:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 22:36:38 +0100 |
commit | a281f1d21fed8136ce0b8160488464edf1ae885b (patch) | |
tree | fdb8720ef8de1873324df5e7108c1f3bf04d3f4e /client.go | |
parent | client: fix Do hangs when configure host client fails (#1514) (diff) | |
download | fasthttp-a281f1d21fed8136ce0b8160488464edf1ae885b.tar.gz fasthttp-a281f1d21fed8136ce0b8160488464edf1ae885b.tar.bz2 fasthttp-a281f1d21fed8136ce0b8160488464edf1ae885b.zip |
client: HostClient.Do hangs out when ErrConnPoolStrategyNotImpl (#1515)
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1534,6 +1534,7 @@ func (c *HostClient) acquireConn(reqTimeout time.Duration, connectionClose bool) c.conns[n-1] = nil c.conns = c.conns[:n-1] default: + c.connsLock.Unlock() return nil, ErrConnPoolStrategyNotImpl } } |