aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/export_test.go
diff options
context:
space:
mode:
authorMike Danese <mikedanese@google.com>2017-03-01 10:43:57 -0800
committerAdam Langley <agl@golang.org>2017-03-02 19:43:07 +0000
commit87649d32ad16a9a0b7bd5dbd1c124b2032a270f1 (patch)
tree8a49214279be0e0cb20a384c66b2ca06665c2010 /src/net/http/export_test.go
parent2f5aea7c1305158a6d87ea356f0ed2a8186bc73d (diff)
downloadgo-87649d32ad16a9a0b7bd5dbd1c124b2032a270f1.tar.xz
crypto/tls: make Config.Clone also clone the GetClientCertificate field
Using GetClientCertificate with the http client is currently completely broken because inside the transport we clone the tls.Config and pass it off to the tls.Client. Since tls.Config.Clone() does not pass forward the GetClientCertificate field, GetClientCertificate is ignored in this context. Fixes #19264 Change-Id: Ie214f9f0039ac7c3a2dab8ffd14d30668bdb4c71 Signed-off-by: Mike Danese <mikedanese@google.com> Reviewed-on: https://go-review.googlesource.com/37541 Reviewed-by: Filippo Valsorda <hi@filippo.io> Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/net/http/export_test.go')
0 files changed, 0 insertions, 0 deletions