Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5962)

Issue 13703043: net: retry Windows ReadFrom on spurious ERROR_PORT_UNRE... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rsc
Modified:
10 years, 7 months ago
Reviewers:
Visibility:
Public.

Description

net: retry Windows ReadFrom on spurious ERROR_PORT_UNREACHABLE See the discussion and links in golang.org/issue/5834 for background. Basically, if a WriteTo fails, the error comes back in the next ReadFrom. Since we're reading, "port unreachable" makes no sense, so retry. Fixes issue 5834.

Patch Set 1 #

Patch Set 2 : diff -r 0f036b4b1da5 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M src/pkg/net/fd_windows.go View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/pkg/syscall/ztypes_windows.go View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 1
rsc
10 years, 7 months ago (2013-09-13 19:45:52 UTC) #1
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b