aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/test.go
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2023-07-23 14:19:57 -0400
committerDmitri Shuralyov <dmitshur@golang.org>2023-07-28 02:46:31 +0000
commit8488309192b0ed4b393e2f7b2a93491139ff8ad0 (patch)
tree2ee97f3bc4d0c25aca28803f569216bc5df4bba8 /src/cmd/dist/test.go
parenta8a6f90a237a19b32bd82dc4c314859e24f8cd95 (diff)
downloadgo-8488309192b0ed4b393e2f7b2a93491139ff8ad0.tar.gz
go-8488309192b0ed4b393e2f7b2a93491139ff8ad0.zip
net/http: perform streaming body feature detection once per process
As far a I can tell, there's currently no situation where this feature detection will report a different result per request, so default to doing once per process until there's evidence that doing it more often is worthwhile. Change-Id: I567d3dbd847af2f49f2e83cd9eb0ae61d82c1f83 Reviewed-on: https://go-review.googlesource.com/c/go/+/513459 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Diffstat (limited to 'src/cmd/dist/test.go')
0 files changed, 0 insertions, 0 deletions