aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorFilippo Valsorda <hi@filippo.io>2018-11-28 22:05:08 -0500
committerFilippo Valsorda <filippo@golang.org>2018-11-29 05:55:51 +0000
commit4c51c937808ee2fb88d469cf89c85c8e700f665c (patch)
treecaf370ae7add4eb2c1a549d5fef4836e78a66828 /src/debug
parent4f26f24d2ae8c99bfaafb33db4b7be27ee13afab (diff)
downloadgo-4c51c937808ee2fb88d469cf89c85c8e700f665c.tar.xz
crypto/tls: prevent the test server from sending session tickets
Since they are sent after the handshake in TLS 1.3, the client was not actually consuming them, as it doesn't make any Read calls. They were then sitting in the kernel receive buffer when the client would call Close. The kernel would see that and send a RST, which would race the closeNotify, causing errors. Also, we get to trim 600 lines of useless test data. Fixes #28852 Change-Id: I7517feab77dabab7504bfc111098ba09ea07ae5e Reviewed-on: https://go-review.googlesource.com/c/151659 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions