Descriptionnet: remove unused nil check
This is part 1 of a series of proposals to fix issue 4369.
In resolving issue 3507 it was decided not to nil out the inner conn.fd field to avoid a race. This implies the checks for fd == nil inside incref/decref are never true.
Removing this logic removes one source of errClosing error values, which affects issue 4373 and moves towards bradfitz's request that fd.accept() return io.EOF when closed concurrently.
Update issue 4369.
Update issue 4373.
Patch Set 1 #Patch Set 2 : diff -r 591fc8a0131a https://code.google.com/p/go #Patch Set 3 : diff -r 591fc8a0131a https://code.google.com/p/go #Patch Set 4 : diff -r 11094b97d92a https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 11094b97d92a https://go.googlecode.com/hg/ #
MessagesTotal messages: 9
|