]> Cypherpunks repositories - gostls13.git/commit
net/http: push roundTrip panic higher in the stack
authorNeal Patel <nealpatel@google.com>
Tue, 1 Apr 2025 21:04:29 +0000 (17:04 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 8 Apr 2025 21:27:47 +0000 (14:27 -0700)
commit53badd4836f88c45e686c60712ac3c9d6364e505
treeaebea1e3f1a99b6a0944cd6f5f965627a5b0158b
parentec4a9fb3211e1b7bd4035af7d70f17a21cd26508
net/http: push roundTrip panic higher in the stack

If Transport is a non-nil interface pointing to a nil implementer,
then a panic inside of roundTrip further obsfucates the issue.

Change-Id: I47664b8e6185c5f56b5e529f49022484b5ea1d94
Reviewed-on: https://go-review.googlesource.com/c/go/+/661897
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Neal Patel <nealpatel@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/http/roundtrip.go