From 81e6061a5347c35e10b83b9c969811c6f46e338e Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 27 Jul 2018 10:18:56 +1000 Subject: [PATCH] When Accept gives an error, don't use the Conn --- client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client.go b/client.go index 0a3b39fa..3d9ce406 100644 --- a/client.go +++ b/client.go @@ -410,6 +410,7 @@ func (cl *Client) acceptConnections(l net.Listener) { } if err != nil { log.Printf("error accepting connection: %s", err) + continue } go func() { if reject {