The WritePacket.Send() takes so long because of the obsolete Conn.Read() that never returns anything. This makes the Send() always execute for more than 3 seconds (defined in the NET_TIMEOUT constant).
Found in net6.go, this line:
func (p WritePacket) Send(address string) error {
...
The
WritePacket.Send()takes so long because of the obsoleteConn.Read()that never returns anything. This makes theSend()always execute for more than 3 seconds (defined in theNET_TIMEOUTconstant).Found in
net6.go, this line: