]> Cypherpunks.ru repositories - gostls13.git/commit
net/http: perform streaming body feature detection once per process
authorDmitri Shuralyov <dmitshur@golang.org>
Sun, 23 Jul 2023 18:19:57 +0000 (14:19 -0400)
committerDmitri Shuralyov <dmitshur@golang.org>
Fri, 28 Jul 2023 02:46:31 +0000 (02:46 +0000)
commit8488309192b0ed4b393e2f7b2a93491139ff8ad0
tree2ee97f3bc4d0c25aca28803f569216bc5df4bba8
parenta8a6f90a237a19b32bd82dc4c314859e24f8cd95
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>
src/net/http/roundtrip_js.go