]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix flakey test.
authorAdam Langley <agl@golang.org>
Thu, 16 May 2013 16:29:23 +0000 (12:29 -0400)
committerAdam Langley <agl@golang.org>
Thu, 16 May 2013 16:29:23 +0000 (12:29 -0400)
commit21cf646bfcc35711ce0c728f3d1e44ffe6b054e8
tree4a963a15337d0130bbba04976932e073fc7fafc4
parenta65f861bfa7a393e61cbe7aad0d1ecd42a0237be
crypto/tls: fix flakey test.

A test added in b37d2fdcc4d9 didn't work with some values of GOMAXPROCS
because the defer statements were in the wrong order: the Pipe could be
closed before the TLS Client was.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/9187047
src/pkg/crypto/tls/handshake_client_test.go