]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/tls: add Config.GetConfigForClient
authorAdam Langley <agl@golang.org>
Mon, 10 Oct 2016 22:27:34 +0000 (15:27 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Oct 2016 06:44:05 +0000 (06:44 +0000)
commitcff3e7587a516933d842c11b68bdd346ae6fc9be
treef6eccd05467f673240b3edf215e491621881008a
parent7e2bf952a905f16a17099970392ea17545cdd193
crypto/tls: add Config.GetConfigForClient

GetConfigForClient allows the tls.Config to be updated on a per-client
basis.

Fixes #16066.
Fixes #15707.
Fixes #15699.

Change-Id: I2c675a443d557f969441226729f98502b38901ea
Reviewed-on: https://go-review.googlesource.com/30790
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/common.go
src/crypto/tls/handshake_server.go
src/crypto/tls/handshake_server_test.go
src/crypto/tls/tls_test.go