go/src/net/http
Russ Cox 5246fa5e75 mime/multipart: handle ReadForm(math.MaxInt64) better
Returning an error about integer overflow is needlessly pedantic.
The meaning of ReadForm(MaxInt64) is easily understood
(accept a lot of data) and can be implemented.

Fixes #40430.

Change-Id: I8a522033dd9a2f9ad31dd2ad82cf08d553736ab9
Reviewed-on: https://go-review.googlesource.com/c/go/+/275112
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-12-03 16:05:09 +00:00
..
cgi all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
cookiejar
fcgi all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
httptest all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
httptrace
httputil all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
internal all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
pprof all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
testdata
alpn_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
client.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
client_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
clientserver_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
clone.go
cookie.go net/http: make SameSiteDefaultMode behavior match the specification 2020-10-08 08:53:13 +00:00
cookie_test.go net/http: make SameSiteDefaultMode behavior match the specification 2020-10-08 08:53:13 +00:00
doc.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
example_filesystem_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
example_handle_test.go
example_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
export_test.go all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00
filetransport.go
filetransport_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
fs.go net/http: add FS to convert fs.FS to FileSystem 2020-10-20 18:41:15 +00:00
fs_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
h2_bundle.go all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00
header.go
header_test.go
http.go
http_test.go net/http: use exponential backoff for polling in Server.Shutdown 2020-10-27 18:38:48 +00:00
jar.go
main_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
method.go
omithttp2.go all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00
proxy_test.go
range_test.go
readrequest_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
request.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
request_test.go mime/multipart: handle ReadForm(math.MaxInt64) better 2020-12-03 16:05:09 +00:00
requestwrite_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
response.go net/http: allow upgrading non keepalive connections 2020-12-01 19:47:12 +00:00
response_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
responsewrite_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
roundtrip.go
roundtrip_js.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
serve_test.go net/http: allow upgrading non keepalive connections 2020-12-01 19:47:12 +00:00
server.go net/http: allow upgrading non keepalive connections 2020-12-01 19:47:12 +00:00
server_test.go
sniff.go
sniff_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
socks_bundle.go
status.go
transfer.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
transfer_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
transport.go net/http: ignore connection closes once done with the connection 2020-12-01 19:31:47 +00:00
transport_internal_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
transport_test.go net/http: ignore connection closes once done with the connection 2020-12-01 19:31:47 +00:00
triv.go