Archived
Add missing close
This commit is contained in:
1 parent
240e7b0835
commit
2972472179
1 file changed
+1
@@ -78,6 +78,7 @@ func (c *ProtocolClient) Serve() {
|
||||
}
|
||||
|
||||
if err := c.conn.SetDeadline(time.Time{}); err != nil {
|
||||
c.conn.Close()
|
||||
l.Infoln("Relay set deadline:", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user