]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: SOMAXCONN should be 0x7fffffff at winsock2.
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Fri, 26 Aug 2011 02:36:46 +0000 (12:36 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 26 Aug 2011 02:36:46 +0000 (12:36 +1000)
R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/4955042

src/pkg/syscall/ztypes_windows.go

index 728812b8438d4af547ba5601c029c1c662e19f18..01984473a81fe4d23a314958fd4466553719a8e0 100644 (file)
@@ -349,7 +349,7 @@ const (
        IPPROTO_IPV6 = 0x29
        IPV6_V6ONLY  = 0x1b
 
-       SOMAXCONN = 5
+       SOMAXCONN = 0x7fffffff
 
        TCP_NODELAY = 1