aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/httputil/reverseproxy_test.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2025-03-03 09:21:26 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2025-03-04 08:58:31 -0800
commitba3c57fc7ceb6c1158e81ccd8071cdeb7a6d6793 (patch)
tree34e9187c53e5e1508818d4eaf2e95edb90b6f4a5 /src/net/http/httputil/reverseproxy_test.go
parentfd8938c799969ad8caec2aaec5a4966e48a17895 (diff)
downloadgo-ba3c57fc7ceb6c1158e81ccd8071cdeb7a6d6793.tar.xz
os: guarantee min buffer size for ReadFile reads on /proc-like files
For instance, this fixes os.ReadFile on plan9's /net/iproute file. But it's not necessarily plan9-specific; Linux /proc and /sys filesystems can exhibit the same problems. Fixes #72080 Change-Id: I60b035913f583a91c6d84df95a6ea7b7ec2b3c92 Reviewed-on: https://go-review.googlesource.com/c/go/+/654315 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/net/http/httputil/reverseproxy_test.go')
0 files changed, 0 insertions, 0 deletions