What version of Go are you using (go version)?
go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build435595517=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
g++ --version
g++ (Ubuntu 4.9.2-10ubuntu13) 4.9.2
What did you do?
We are opening TLS connection to server, sending basic command implemented there.
occasionally socket returns EOF while in handshake process.
https://github.com/golang/go/blob/go1.7.4/src/crypto/tls/handshake_client.go#L637
Code: https://play.golang.org/p/-JK8L3ONcg
What did you expect to see?
OK, all the time, because executable is restarted every time we make connection
What did you see instead?
25% percent of TLS connection opening is failed with EOF
What version of Go are you using (
go version)?go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (
go env)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build435595517=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
g++ --versiong++ (Ubuntu 4.9.2-10ubuntu13) 4.9.2
What did you do?
We are opening TLS connection to server, sending basic command implemented there.
occasionally socket returns EOF while in handshake process.
https://github.com/golang/go/blob/go1.7.4/src/crypto/tls/handshake_client.go#L637
Code: https://play.golang.org/p/-JK8L3ONcg
What did you expect to see?
OK, all the time, because executable is restarted every time we make connectionWhat did you see instead?
25% percent of TLS connection opening is failed with
EOF