1
0
mirror of https://github.com/golang/go synced 2024-10-04 15:21:22 -06:00
go/src/net
Mikio Hara 456cf0f22c net: fix inconsistent error values on Interface
This change fixes inconsistent error values on Interfaces,
InterfaceAddrs, InterfaceBy{Index,Name}, and Addrs and MulticastAddrs
methods of Interface.

Updates #4856.

Change-Id: I09e65522a22f45c641792d774ebf7a0081b874ad
Reviewed-on: https://go-review.googlesource.com/9140
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-04-21 04:16:14 +00:00
..
http net/http: fix Transport data race, double cancel panic, cancel error message 2015-04-20 20:34:43 +00:00
internal/socktest net/internal/socktest: add hook for Listen, failed system call counters 2015-04-15 11:03:50 +00:00
mail all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
rpc net/rpc: document that the type must be exported, not just the methods 2015-04-08 18:34:35 +00:00
smtp net/smtp: document SendMail more 2015-02-07 22:23:10 +00:00
testdata
textproto net/textproto: turn an ancient DoS BUG annotation into a comment 2014-12-16 04:17:30 +00:00
url net/url: allow Parse, ParseRequestURI to parse ipv6 zone identifiers in URIs 2015-04-07 14:24:23 +00:00
cgo_android.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_bsd.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_linux.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_netbsd.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_openbsd.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_stub.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_unix_test.go
cgo_unix.go net: clean up cgo 2015-04-17 23:19:19 +00:00
cgo_windows.go net: clean up cgo 2015-04-17 23:19:19 +00:00
conn_test.go net: add helpers for server testing 2015-04-21 01:00:11 +00:00
dial_gen.go net: dialChannel should not treat an expired deadline as noDeadline. 2015-04-06 01:03:31 +00:00
dial_test.go net: fix inconsistent error values on Dial, Listen partially 2015-04-17 00:42:57 +00:00
dial.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
dialgoogle_test.go net: deflake TestDialGoogle, TestResolveDialGoogle 2015-04-03 01:50:30 +00:00
dnsclient_test.go
dnsclient_unix_test.go net: fix data race in benchmarks 2015-04-01 22:02:41 +00:00
dnsclient_unix.go net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo 2015-03-08 09:58:11 +00:00
dnsclient.go net: document that DNSError.Timeout and Temporary are unreliable 2015-04-13 20:41:50 +00:00
dnsconfig_unix_test.go
dnsconfig_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
dnsmsg_test.go net: case insensitivity of DNS labels in built-in stub resolver 2015-02-03 10:29:50 +00:00
dnsmsg.go
dnsname_test.go net: fix data race in benchmarks 2015-04-01 22:02:41 +00:00
error_plan9_test.go net: fix inconsistent error values on Dial, Listen partially 2015-04-17 00:42:57 +00:00
error_posix_test.go net: fix inconsistent error values on Dial, Listen partially 2015-04-17 00:42:57 +00:00
error_test.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
example_test.go
fd_mutex_test.go
fd_mutex.go
fd_plan9.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
fd_poll_nacl.go net: remove the dregs of old built-in poll server 2015-02-04 10:16:38 +00:00
fd_poll_runtime.go net: remove the dregs of old built-in poll server 2015-02-04 10:16:38 +00:00
fd_posix_test.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
fd_posix.go net: don't return io.EOF on reading data from datagram, raw sockets on windows 2015-01-01 05:21:32 +00:00
fd_unix.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
fd_windows.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
file_plan9.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
file_stub.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
file_test.go net: simplify test helpers 2015-03-28 08:21:10 +00:00
file_unix.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
file_windows.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
file.go net: fix inconsistent error values on File 2015-04-21 03:37:41 +00:00
hook_cloexec.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
hook_plan9.go net: deflake TestDialTimeout 2015-04-02 01:04:49 +00:00
hook_unix.go net: add Listen system call hook for testing 2015-04-15 11:47:49 +00:00
hook_windows.go net: add Listen system call hook for testing 2015-04-15 11:47:49 +00:00
hook.go net: move testHookSetKeepAlive into hook.go 2015-04-07 03:02:10 +00:00
hosts_test.go all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
hosts.go
interface_bsd_test.go
interface_bsd.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
interface_darwin.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
interface_dragonfly.go
interface_freebsd.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
interface_linux_test.go
interface_linux.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
interface_netbsd.go
interface_openbsd.go
interface_stub.go
interface_test.go net: fix data race in benchmarks 2015-04-01 22:02:41 +00:00
interface_unix_test.go
interface_windows.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
interface.go net: fix inconsistent error values on Interface 2015-04-21 04:16:14 +00:00
ip_test.go net: fix data race in benchmarks 2015-04-01 22:02:41 +00:00
ip.go all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
ipraw_test.go net: deflake dual IP stack tests 2015-04-07 13:32:28 +00:00
iprawsock_plan9.go net: fix inconsistent error values on Write 2015-04-18 02:44:08 +00:00
iprawsock_posix.go net: fix inconsistent error values on Write 2015-04-18 02:44:08 +00:00
iprawsock.go net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00
ipsock_plan9.go net: rename netFD.proto to netFD.net on Plan 9 2015-04-17 00:09:13 +00:00
ipsock_posix.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
ipsock_test.go net: fix a nit found by vet 2015-04-19 10:45:49 +00:00
ipsock.go net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00
lookup_plan9.go net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo 2015-03-08 09:58:11 +00:00
lookup_stub.go net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo 2015-03-08 09:58:11 +00:00
lookup_test.go net: deflake dual IP stack tests 2015-04-07 13:32:28 +00:00
lookup_unix.go net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo 2015-03-08 09:58:11 +00:00
lookup_windows_test.go
lookup_windows.go net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo 2015-03-08 09:58:11 +00:00
lookup.go cmd/go: cache results of HTTP requests done during meta tag discovery 2015-04-13 07:08:00 +00:00
mac_test.go
mac.go
main_cloexec_test.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
main_plan9_test.go net: deflake TestDialGoogle, TestResolveDialGoogle 2015-04-03 01:50:30 +00:00
main_posix_test.go net: fix TestDialGoogle with -ipv6 when CGO_ENABLED=0 2015-04-16 00:44:52 +00:00
main_test.go net: fix inconsistent error values on Dial, Listen partially 2015-04-17 00:42:57 +00:00
main_unix_test.go net: add Listen system call hook for testing 2015-04-15 11:47:49 +00:00
main_windows_test.go net: add Listen system call hook for testing 2015-04-15 11:47:49 +00:00
mockserver_test.go net: add helpers for server testing 2015-04-21 01:00:11 +00:00
multicast_test.go
net_test.go net: fix inconsistent error values on Read 2015-04-18 02:19:46 +00:00
net_windows_test.go
net.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
netgo_unix_test.go
packetconn_test.go net: simplify test helpers 2015-03-28 08:21:10 +00:00
parse_test.go
parse.go net: simplify itoa conversions 2015-01-22 13:01:28 +00:00
pipe_test.go
pipe.go
platform_test.go net: simplify test helpers 2015-03-28 08:21:10 +00:00
port_test.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
port_unix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
port.go
protoconn_test.go net: add helpers for server testing 2015-04-21 01:00:11 +00:00
race0.go
race.go
sendfile_dragonfly.go net: fix inconsistent error values on Read 2015-04-18 02:19:46 +00:00
sendfile_freebsd.go net: fix inconsistent error values on Read 2015-04-18 02:19:46 +00:00
sendfile_linux.go net: fix inconsistent error values on Read 2015-04-18 02:19:46 +00:00
sendfile_stub.go
sendfile_windows.go
server_test.go net: move test flags into main_test.go 2015-04-02 09:07:24 +00:00
sock_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sock_cloexec.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
sock_linux.go
sock_plan9.go
sock_posix.go net: add Listen system call hook for testing 2015-04-15 11:47:49 +00:00
sock_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sock_windows.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
sockopt_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_linux.go
sockopt_plan9.go
sockopt_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_solaris.go
sockopt_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockopt_windows.go
sockoptip_bsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_linux.go
sockoptip_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
sockoptip_windows.go
sys_cloexec.go net: add socket system call hooks for testing 2015-03-31 23:07:42 +00:00
tcp_test.go net: add helpers for server testing 2015-04-21 01:00:11 +00:00
tcpsock_plan9.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
tcpsock_posix.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
tcpsock.go net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00
tcpsockopt_darwin.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_dragonfly.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_openbsd.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_plan9.go
tcpsockopt_posix.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_stub.go net: separate NaCl dependent placeholders from BSD's 2014-09-18 19:17:55 +09:00
tcpsockopt_unix.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
tcpsockopt_windows.go net: fix inconsistent behavior across platforms in SetKeepAlivePeriod 2014-09-11 17:56:58 +09:00
timeout_test.go net: fix inconsistent error values on Accept 2015-04-18 03:38:50 +00:00
udp_test.go net: fix inconsistent error values on Dial, Listen partially 2015-04-17 00:42:57 +00:00
udpsock_plan9.go net: fix inconsistent error values on Write 2015-04-18 02:44:08 +00:00
udpsock_posix.go net: fix inconsistent error values on Write 2015-04-18 02:44:08 +00:00
udpsock.go net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00
unicast_posix_test.go net: disable TestDualStackUDPListener in short mode 2014-10-06 13:09:14 -04:00
unix_test.go net: fix tester goroutine leakage in tests 2015-04-07 03:26:03 +00:00
unixsock_plan9.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
unixsock_posix.go net: fix inconsistent error values on setters 2015-04-21 04:05:59 +00:00
unixsock.go net: make multi-IP resolution more flexible. 2015-04-10 09:03:25 +00:00