Skip to content

net/http: "AcceptEx:The specified network name is no longer available" on Windows 64-bit #3256

Closed
@ancientlore

Description

@ancientlore
What steps will reproduce the problem?
1. Build the attached program.
2. Post random data to it (for instance with curl).
3. Wait a minute or so.
4. Post additional random data to it.

What is the expected output?
The program prints the number of requests it handled in one second and the number of
bytes received.

What do you see instead?
ListenAndServe:AcceptEx tcp 0.0.0.0:8081: The specified network name is no longer
available.

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
Windows Server 2008 R2 64-bit running inside VmWare 8

Which revision are you using?  (hg identify)
Weekly 2012-03-04 from
https://code.google.com/p/go/downloads/detail?name=go.weekly.2012-03-04.windows-amd64.msi&;can=2&q=

Please provide any additional information below.
I haven't reproduced the issue on Windows 7. My theory is that keep-alives may be
involved (because it works, then fails after a pause in posting) or that binding to all
adapters is an issue. Or, perhaps the VmWare network drivers.

I did not notice this problem prior to 2012-03-04.

The program is also at http://pastie.org/3543618

Attachments:

  1. webserver.go (934 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions