Closed
Description
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:
- webserver.go (934 bytes)