]> Cypherpunks repositories - gostls13.git/commit
net/http: fix a few crashes with a ClientTrace with nil funcs
authorBrad Fitzpatrick <bradfitz@golang.org>
Sun, 1 May 2016 02:27:04 +0000 (21:27 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 1 May 2016 05:46:39 +0000 (05:46 +0000)
commit0ab78df9ea602d6bc9cf45dbd610c3d6f534cb58
treed8a5d392746e9d25f1593b6b63763723a510d953
parentb3a130e81a0c3c2508f483af15e57d181c5cdc1e
net/http: fix a few crashes with a ClientTrace with nil funcs

And add a test.

Updates #12580

Change-Id: Ia7eaba09b8e7fd0eddbcaefb948d01ab10af876e
Reviewed-on: https://go-review.googlesource.com/22659
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/transport.go
src/net/http/transport_test.go