]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: remove redundant pw.Close() call in DumpRequestOut
author1911860538 <alxps1911@gmail.com>
Fri, 15 Aug 2025 11:38:57 +0000 (11:38 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 28 Aug 2025 23:10:19 +0000 (16:10 -0700)
commitf74ed44ed9be1708d4561e0fa667792ff2707c14
tree21554b8697961021edbf86b93e9202a769e30809
parenta9689d2e0b8eda51da84732e963cbad35f797552
net/http/httputil: remove redundant pw.Close() call in DumpRequestOut

pw.Close() is already deferred earlier in DumpRequestOut.

Change-Id: Icdc9366c816848ed0bb444022d2aa14e4ceaabac
GitHub-Last-Rev: 7c38f9f2b6a9535a9262c2c40c8f1f8754eba972
GitHub-Pull-Request: golang/go#75029
Reviewed-on: https://go-review.googlesource.com/c/go/+/696415
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Sean Liao <sean@liao.dev>
src/net/http/httputil/dump.go