Update tcp.Dial func

This commit is contained in:
Alex X
2023-09-17 14:11:47 +03:00
parent 4dffceaf7e
commit 8163c7a520
3 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func (c *Conn) Dial() (err error) {
if c.Timeout != 0 {
timeout = time.Second * time.Duration(c.Timeout)
}
conn, err = tcp.Dial(c.URL, "554", timeout)
conn, err = tcp.Dial(c.URL, timeout)
} else {
conn, err = websocket.Dial(c.Transport)
}