]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/tls: fix TestVerifyHostnameResumed
authorFilippo Valsorda <filippo@golang.org>
Fri, 17 May 2019 16:00:05 +0000 (12:00 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 17 May 2019 18:28:37 +0000 (18:28 +0000)
commite22e2b371d5caa4144de1eedc8484def68f9d4d9
tree3c094f63dd6f78025b453e36697ba3d3731ff892
parent3f7c5608299b56283a2c885b6146823d5b83b2f7
crypto/tls: fix TestVerifyHostnameResumed

In TLS 1.3 session tickets are delivered after the handshake, and it
looks like now the Google servers wait until the first flight of data to
send them (or our timeout is too low). Cause some data to be sent so we
can avoid the guessing game.

Fixes #32090

Change-Id: I54af4acb3a89cc70c9e14a5dfe18a44c29a841a7
Reviewed-on: https://go-review.googlesource.com/c/go/+/177877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/tls_test.go