summaryrefslogtreecommitdiff
path: root/src/pkg/net/sock_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/sock_windows.go')
-rw-r--r--src/pkg/net/sock_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/net/sock_windows.go b/src/pkg/net/sock_windows.go
index a77c48437..41368d39e 100644
--- a/src/pkg/net/sock_windows.go
+++ b/src/pkg/net/sock_windows.go
@@ -8,6 +8,7 @@ import "syscall"
func maxListenerBacklog() int {
// TODO: Implement this
+ // NOTE: Never return a number bigger than 1<<16 - 1. See issue 5030.
return syscall.SOMAXCONN
}