1
0
mirror of https://github.com/golang/go synced 2024-11-17 13:54:46 -07:00
go/src/net
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
..
http mime/multipart: handle ReadForm(math.MaxInt64) better 2020-12-03 16:05:09 +00:00
internal/socktest internal/poll, net, syscall: use accept4 on illumos 2020-10-16 19:53:34 +00:00
mail net/mail: avoid ParseDate confusion if day name includes "T" 2020-11-05 02:48:05 +00:00
rpc all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
smtp net/smtp: adds support for the SMTPUTF8 extension 2020-09-01 23:10:59 +00:00
testdata
textproto all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
url net/url: improve performance for resolvePath 2020-10-28 21:40:08 +00:00
addrselect_test.go
addrselect.go
cgo_aix.go
cgo_android.go
cgo_bsd.go
cgo_linux.go
cgo_netbsd.go
cgo_openbsd.go
cgo_resnew.go
cgo_resold.go
cgo_socknew.go
cgo_sockold.go
cgo_solaris.go
cgo_stub.go
cgo_unix_test.go
cgo_unix.go
cgo_windows.go
conf_netcgo.go
conf_test.go net: prefer /etc/hosts over DNS when no /etc/nsswitch.conf is present 2020-10-25 20:56:22 +00:00
conf.go net: prefer /etc/hosts over DNS when no /etc/nsswitch.conf is present 2020-10-25 20:56:22 +00:00
conn_test.go
dial_test.go all: enable more tests on macOS/ARM64 2020-10-06 21:56:24 +00:00
dial_unix_test.go
dial.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
dnsclient_test.go net: remove dependency on math/rand 2020-10-12 16:30:11 +00:00
dnsclient_unix_test.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
dnsclient_unix.go net: remove dependency on math/rand 2020-10-12 16:30:11 +00:00
dnsclient.go net: remove dependency on math/rand 2020-10-12 16:30:11 +00:00
dnsconfig_unix_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
dnsconfig_unix.go
dnsname_test.go
error_plan9_test.go
error_plan9.go
error_posix_test.go
error_posix.go
error_test.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
error_unix_test.go
error_unix.go
error_windows_test.go
error_windows.go
example_test.go net: add Example for Unix dialer with context 2020-10-21 23:53:08 +00:00
external_test.go
fd_plan9.go
fd_posix.go net: merge common Unix/Windows methods 2020-03-20 00:49:34 +00:00
fd_unix.go net: merge common Unix/Windows methods 2020-03-20 00:49:34 +00:00
fd_windows.go net: merge common Unix/Windows methods 2020-03-20 00:49:34 +00:00
file_plan9.go
file_stub.go
file_test.go
file_unix.go
file_windows.go
file.go
hook_plan9.go
hook_unix.go
hook_windows.go
hook.go
hosts_test.go
hosts.go
interface_aix.go
interface_bsd_test.go
interface_bsd.go
interface_bsdvar.go
interface_darwin.go
interface_freebsd.go
interface_linux_test.go
interface_linux.go
interface_plan9.go net: handle more interface types without a hardware address on Plan 9 2020-06-29 08:06:23 +00:00
interface_solaris.go net: use IFF_* consts from package syscall on solaris 2020-09-17 20:37:53 +00:00
interface_stub.go
interface_test.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
interface_unix_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
interface_windows.go syscall, internal/syscall/windows: remove utf16PtrToString parameter 2020-05-03 07:23:32 +00:00
interface.go
ip_test.go Revert "net: halve the allocs in ParseCIDR by sharing slice backing" 2019-11-10 20:36:44 +00:00
ip.go net: update ParseIP doc to say IPv4-mapped-IPv6 is supported 2020-04-02 22:10:27 +00:00
iprawsock_plan9.go
iprawsock_posix.go
iprawsock_test.go
iprawsock.go
ipsock_plan9_test.go net: correct address when listening on IPv4zero tcp4/udp4 on Plan 9 2020-07-07 23:03:29 +00:00
ipsock_plan9.go all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
ipsock_posix.go all: fix a bunch of misspellings 2019-11-15 21:04:43 +00:00
ipsock_test.go
ipsock.go
listen_test.go
lookup_fake.go
lookup_plan9.go
lookup_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
lookup_unix.go
lookup_windows_test.go
lookup_windows.go syscall, internal/syscall/windows: remove utf16PtrToString parameter 2020-05-03 07:23:32 +00:00
lookup.go net: add (*Resolver).LookupIP 2020-04-28 21:46:16 +00:00
mac_test.go
mac.go
main_cloexec_test.go internal/poll, net, syscall: use accept4 on illumos 2020-10-16 19:53:34 +00:00
main_conf_test.go
main_noconf_test.go
main_plan9_test.go
main_posix_test.go
main_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
main_unix_test.go
main_windows_test.go
mockserver_test.go
net_fake.go
net_test.go net: convert many Close tests to use parallel subtests 2020-04-09 15:10:48 +00:00
net_windows_test.go
net.go net: export ErrClosed 2020-08-26 22:48:00 +00:00
netgo_unix_test.go
nss_test.go
nss.go
packetconn_test.go
parse_test.go
parse.go
pipe_test.go
pipe.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
platform_test.go all: enable more tests on macOS/ARM64 2020-10-06 21:56:24 +00:00
port_test.go
port_unix.go
port.go
protoconn_test.go
rawconn_stub_test.go
rawconn_test.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
rawconn_unix_test.go net: simplify error return in *RawConn test helpers 2020-08-18 08:47:18 +00:00
rawconn_windows_test.go net: simplify error return in *RawConn test helpers 2020-08-18 08:47:18 +00:00
rawconn.go
sendfile_linux.go
sendfile_stub.go
sendfile_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
sendfile_unix_alt.go
sendfile_windows.go
server_test.go net: convert TestTCPServer to use subtests 2019-10-22 17:34:15 +00:00
sock_bsd.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
sock_cloexec.go internal/poll, net, syscall: use accept4 on illumos 2020-10-16 19:53:34 +00:00
sock_linux_test.go net: reflect TCP backlog size update of uint16->uint32 on Linux 2020-09-23 02:32:24 +00:00
sock_linux.go net, internal/poll: reset value before adding in minor kernel version 2020-11-20 04:21:00 +00:00
sock_plan9.go
sock_posix.go
sock_stub.go
sock_windows.go
sockaddr_posix.go
sockopt_aix.go net: only enable broadcast on sockets which support it 2020-05-09 00:33:27 +00:00
sockopt_bsd.go net: only enable broadcast on sockets which support it 2020-05-09 00:33:27 +00:00
sockopt_linux.go net: only enable broadcast on sockets which support it 2020-05-09 00:33:27 +00:00
sockopt_plan9.go
sockopt_posix.go
sockopt_solaris.go net: only enable broadcast on sockets which support it 2020-05-09 00:33:27 +00:00
sockopt_stub.go
sockopt_windows.go net: only enable broadcast on sockets which support it 2020-05-09 00:33:27 +00:00
sockoptip_bsdvar.go
sockoptip_linux.go
sockoptip_posix.go
sockoptip_stub.go
sockoptip_windows.go
splice_linux.go
splice_stub.go
splice_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
sys_cloexec.go internal/poll, net, syscall: use accept4 on illumos 2020-10-16 19:53:34 +00:00
tcpsock_plan9.go net: fix multicast and IPv6 related issues on Plan 9 2019-10-16 17:46:16 +00:00
tcpsock_posix.go
tcpsock_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
tcpsock_unix_test.go
tcpsock.go
tcpsockopt_darwin.go
tcpsockopt_dragonfly.go
tcpsockopt_openbsd.go
tcpsockopt_plan9.go
tcpsockopt_posix.go
tcpsockopt_solaris.go
tcpsockopt_stub.go
tcpsockopt_unix.go
tcpsockopt_windows.go
timeout_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
udpsock_plan9_test.go net: fix multicast and IPv6 related issues on Plan 9 2019-10-16 17:46:16 +00:00
udpsock_plan9.go net: fix multicast and IPv6 related issues on Plan 9 2019-10-16 17:46:16 +00:00
udpsock_posix.go
udpsock_test.go all: add GOOS=ios 2020-09-23 18:12:59 +00:00
udpsock.go net: add note about disabling loopback in ListenMulticastUDP() 2020-11-30 21:08:57 +00:00
unixsock_linux_test.go
unixsock_plan9.go
unixsock_posix.go
unixsock_test.go os, net: define and use os.ErrDeadlineExceeded 2020-04-25 00:26:48 +00:00
unixsock_windows_test.go
unixsock.go
write_unix_test.go
writev_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
writev_unix.go internal/poll, internal/syscall/unix, net: enable writev on illumos 2020-09-15 05:08:53 +00:00