mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-17 16:26:47 +03:00
examples/client: fix error (#1545)
This commit is contained in:
@@ -118,7 +118,7 @@ func httpConnError(err error) (string, bool) {
|
||||
switch {
|
||||
case errors.Is(err, fasthttp.ErrTimeout):
|
||||
errName = "timeout"
|
||||
case errors.Is(err, fasthttp.ErrTimeout):
|
||||
case errors.Is(err, fasthttp.ErrNoFreeConns):
|
||||
errName = "conn_limit"
|
||||
case errors.Is(err, fasthttp.ErrConnectionClosed):
|
||||
errName = "conn_close"
|
||||
|
||||
Reference in New Issue
Block a user