summaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRon Hashimoto <mail@h2so5.net>2014-10-10 09:21:32 +1100
committerRon Hashimoto <mail@h2so5.net>2014-10-10 09:21:32 +1100
commit24815bcce4ab6e6c7cf41f68d2b3b86561e0e2b6 (patch)
tree47fc4c870fc3386c7f06d40e32e694f2714218da /src/syscall
parent0e62ef01c88fca69015123193863f332852f8f0b (diff)
downloadgo-24815bcce4ab6e6c7cf41f68d2b3b86561e0e2b6.tar.gz
net: disable SIO_UDP_CONNRESET behavior on windows.
Fixes issue 5834. LGTM=alex.brainman R=golang-codereviews, bradfitz, alex.brainman, mikioh.mikioh, in60jp, iant CC=golang-codereviews https://codereview.appspot.com/149510043 Committer: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/ztypes_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syscall/ztypes_windows.go b/src/syscall/ztypes_windows.go
index 1363da01a..4c8a99ab9 100644
--- a/src/syscall/ztypes_windows.go
+++ b/src/syscall/ztypes_windows.go
@@ -547,6 +547,7 @@ const (
IOC_WS2 = 0x08000000
SIO_GET_EXTENSION_FUNCTION_POINTER = IOC_INOUT | IOC_WS2 | 6
SIO_KEEPALIVE_VALS = IOC_IN | IOC_VENDOR | 4
+ SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12
// cf. http://support.microsoft.com/default.aspx?scid=kb;en-us;257460