]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.21] net/http: revert "support streaming POST content in wasm"
authorharuyama480 <haruyama480@gmail.com>
Fri, 25 Aug 2023 06:14:35 +0000 (15:14 +0900)
committerGopher Robot <gobot@golang.org>
Thu, 31 Aug 2023 16:40:31 +0000 (16:40 +0000)
commite3ba569c78d2c496537f4546282a5e04f33c886e
tree54fb536a9275340a37c13aa7edd0cc5138448ec0
parent8dc6ad1c61cd5cea66de62dc0308e9ce22a05b88
[release-branch.go1.21] net/http: revert "support streaming POST content in wasm"

CL 458395 added support for streaming POST content in Wasm.
Unfortunately, this breaks requests to servers that only support HTTP/1.1.
Revert the change until a suitable fallback or opt-in strategy can be decided.

For #61889.
Fixes #62328.

Change-Id: If53a77e1890132063b39abde867d34515d4ac2af
Reviewed-on: https://go-review.googlesource.com/c/go/+/522955
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/524855
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Commit-Queue: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
src/net/http/roundtrip_js.go