Skip to content

Obsolete read in WritePacket.Send() #2

@kr15h

Description

@kr15h

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 {
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions