]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go/internal/web: release the net token when an HTTP request fails due to CheckRed...
authorBryan C. Mills <bcmills@google.com>
Wed, 9 Aug 2023 21:14:30 +0000 (17:14 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 10 Aug 2023 17:34:25 +0000 (17:34 +0000)
commit8cb5c55118a8273e1cc605b8ba167297808c4eda
treed05d261817de42fd21730a99ba254e4f991cafc2
parentfaa549e4c7aeb997a7fa802f5f9398db5a57c32c
cmd/go/internal/web: release the net token when an HTTP request fails due to CheckRedirect

Fixes #61877.

Change-Id: I38c63565aaf9dc9b0c8085974521daccfbcbc790
Reviewed-on: https://go-review.googlesource.com/c/go/+/518015
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/web/http.go
src/cmd/go/testdata/script/mod_get_insecure_redirect.txt [new file with mode: 0644]