]> Cypherpunks repositories - gostls13.git/commit
net/http: remove redundant code
authortk <tk103331@gmail.com>
Fri, 9 Sep 2022 03:02:56 +0000 (03:02 +0000)
committerDamien Neil <dneil@google.com>
Tue, 8 Nov 2022 03:06:55 +0000 (03:06 +0000)
commite6f662d7b071c659f4146408e31671cb32e2104c
treea047a66e30ab46933bbdd8f2e56e7faadd662a84
parentdc98ccd836da7d22a5d270b9778fb055826fa07b
net/http: remove redundant code

Remove redundant code at line 365, `oldCtx := req.Context()`,  because it's the same as line 349.

Change-Id: I9b028e8c8740c22945708b143e4e86a0baa40f64
GitHub-Last-Rev: 4ad0f3871b1d473246af7cf27c158140c7248cf1
GitHub-Pull-Request: golang/go#54925
Reviewed-on: https://go-review.googlesource.com/c/go/+/428977
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
src/net/http/client.go