-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
by runningwild:
What steps will reproduce the problem? 1. Get a UDPConn with net.ListenUDP 2. Set the timeout to something like 1000000ns or more 3. Keep calling UDPConn.ReadFrom and eventually it will hang What is the expected output? What do you see instead? It should break every time with the expected os.EAGAIN (currently it is a different error, this is mentioned in another bug) Instead, sometimes, it hangs, and it seems fairly random when it will hang. Also when I decrease the timeout to 1ns I haven't seen it hang. What is your $GOOS? $GOARCH? darwin, amd64 Which revision are you using? (hg identify) 719a3506aa5b tip
Attachments:
- net.go (679 bytes)