virtsock: update vendored virtosck package

This fixes a bug on WIndows build newer than 10586.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2016-05-23 21:34:38 +01:00
parent 95d3ac81bf
commit 5b96452c4c
2 changed files with 4 additions and 2 deletions

View File

@@ -34,8 +34,10 @@ import (
// (without data), `shutdownrd` and 'shutdownwr' are used to used to
// signal a shutdown to the other end.
// On Windows 10 build 10586 larger maxMsgSize values work, but on
// newer builds it fails. It is unclear what the cause is...
const (
maxMsgSize = 32 * 1024 // Maximum message size
maxMsgSize = 4 * 1024 // Maximum message size
)
// Hypper-V sockets use GUIDs for addresses and "ports"