- 13 Jan, 2016 1 commit
-
-
Mikio Hara authored
This change applies the fix for #13564 to Plan 9 and Windows. Also enables Lookup API test cases on builders. Updates #13564. Change-Id: I863f03c7cb6fbe58b3a55223bfa0ac5f9bf9c3df Reviewed-on: https://go-review.googlesource.com/18559 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Russ Cox <rsc@golang.org>
-
- 04 Dec, 2015 1 commit
-
-
David du Colombier authored
This change returns rooted DNS names on Plan 9, for consistency with other operating systems. Updates #12193. Change-Id: If983920c5b9a8f67d4ccb51bb295fac8dfb87e88 Reviewed-on: https://go-review.googlesource.com/15581 Reviewed-by:
Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by:
Mikio Hara <mikioh.mikioh@gmail.com>
-
- 05 May, 2015 1 commit
-
-
Mikio Hara authored
These a series of changes fix inconsistent errors on the package net APIs. Now almost all the APIs return OpError as a common error type except Lookup, Resolve and Parse APIs. The Lookup, Resolve and Parse APIs return more specific errors such as DNSError, AddrError or ParseError. An OpError may contain nested error information. For example, Dial may return an OpError containing a DNSError, AddrError, unexposed type/value or other package's type/value like the following: OpError{/* dial info */, Err: &DNSError{}} OpError{/* dial info */, Err: &AddrError{}} OpError{/* dial info */, Err: <unexposed type or value>} OpError{/* dial info */, Err: <other package's type or value>} and Read and Write may return an OpError containing other OpError when an application uses io.Copy or similar: OpError{/* for io.Reader */, Err: &OpError{/* for io.Writer */}} When an endpoint is created for connection-oriented byte-stream protocols, Read may return an io.EOF when the connection is closed by remote endpoint. Fixes #4856. A series of changes: - net: fix inconsistent error values on Dial, Listen partially https://go.googlesource.com/go/+/89b7c66d0d14462fd7893be4290bdfe5f9063ae1 - net: fix inconsistent error values on Read https://go.googlesource.com/go/+/ec1144423f45e010c72363fe59291d43214b6e31 - net: fix inconsistent error values on Write https://go.googlesource.com/go/+/11b5f98bf0d5eb8854f735cc332c912725070214 - net: fix inconsistent error values on Close https://go.googlesource.com/go/+/310db63c5bc121e7bfccb494c01a6b91a257e7fc - net: fix inconsistent error values on Accept https://go.googlesource.com/go/+/4540e162b1aefda8157372764ad3d290a414ef1d - net: fix inconsistent error values on File https://go.googlesource.com/go/+/885111365ba0a74421059bfbd18f4c57c1e70332 - net: fix inconsistent error values on setters https://go.googlesource.com/go/+/2173a27903897c481b0a0daf3ca3e0a0685701db - net: fix inconsistent error values on Interface https://go.googlesource.com/go/+/456cf0f22c93e1a6654980f4a48a564555f6c8a2 - net: fix inconsistent error values on Lookup https://go.googlesource.com/go/+/0fc582e87942b2e52bed751b6c56660ba99e9a7d - net: add Source field to OpError https://go.googlesource.com/go/+/afd2d2b6df3ebfe99faf347030f15adfdf422fa0 Change-Id: Id678e369088dc9fbe9073cfe7ff8a8754a57d61f Reviewed-on: https://go-review.googlesource.com/9236 Reviewed-by:
Ian Lance Taylor <iant@golang.org>
-
- 08 Mar, 2015 1 commit
-
-
Andrew Pilloud authored
The unix and windows getaddrinfo calls return a zone with IPv6 addresses. IPv6 link-local addresses returned are only valid on the given zone. When the zone is dropped, connections to the address will fail. This patch replaces IP with IPAddr in several internal resolver functions, and plumbs through the zone. Change-Id: Ifea891654f586f15b76988464f82e04a42ccff6d Reviewed-on: https://go-review.googlesource.com/5851 Reviewed-by:
Mikio Hara <mikioh.mikioh@gmail.com>
-
- 08 Sep, 2014 1 commit
-
-
Russ Cox authored
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
-
- 07 Apr, 2014 1 commit
-
-
Mikio Hara authored
The prefix was not uniformly applied and is probably better left off for using with OpError. Update #4856 LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/84660046
-
- 13 Feb, 2014 1 commit
-
-
Nicolas Owens authored
TestLookupHost expects that no duplicate addresses are returned. when cs is consulted for a name, e.g net!localhost!1, it will possibly return multiple available paths, e.g. via il and tcp. this confuses the tests. LGTM=aram R=jas, 0intro, aram CC=golang-codereviews https://golang.org/cl/58120045
-
- 22 Jan, 2014 1 commit
-
-
Jeff Sickel authored
This change include updates to the probeIPv4Stack and probeIPv6Stack to ensure that one or both protocols are supported by ip(3). The addition of fdMutex to netFD fixes the TestTCPConcurrentAccept failures. Additional changes add support for keepalive. R=golang-codereviews, 0intro CC=golang-codereviews, rsc https://golang.org/cl/49920048
-
- 08 Jan, 2014 1 commit
-
-
Jeff Sickel authored
writing /net/dns or /net/cs (see nbd(8)). R=golang-codereviews CC=0intro, golang-codereviews, rsc https://golang.org/cl/49060043
-
- 18 Dec, 2013 1 commit
-
-
David du Colombier authored
Rob suggested this change. R=golang-dev, r CC=golang-dev https://golang.org/cl/43670044
-
- 17 Dec, 2013 1 commit
-
-
David du Colombier authored
R=golang-dev, r, bradfitz CC=golang-dev, jas https://golang.org/cl/43610043
-
- 16 Dec, 2013 1 commit
-
-
David du Colombier authored
Protocol keywords are case-insensitive, but the Ndb database is case-sensitive. Also use the generic net protocol instead of tcp in lookupHost. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/40600047
-
- 09 Aug, 2013 1 commit
-
-
Nicolas Owens authored
lookup_plan9.go's lookupSRV is using the wrong order for srv results. order should be weight, priority, port, following the response from /net/dns: chi Aug 9 20:31:13 Rread tag 20 count 61 '_xmpp-client._tcp.offblast.org srv 5 0 5222 iota.offblast.org' 72 R=golang-dev, bradfitz CC=ality, golang-dev, r, rsc https://golang.org/cl/12708043
-
- 17 Jun, 2013 1 commit
-
-
Nicolas Owens authored
use correct field count when resolving nameservers via /net/dns on Plan 9. we incorrectly check for 4 fields instead of 3 when parsing the result of /net/dns, and get no results R=golang-dev, ality CC=golang-dev https://golang.org/cl/10182044
-
- 12 Mar, 2013 1 commit
-
-
Akshat Kumar authored
Needed by TestResolveIPAddr. This makes us pass tests again. R=rsc, rminnich, ality, bradfitz CC=golang-dev https://golang.org/cl/7737043
-
- 18 Oct, 2012 1 commit
-
-
Stephen McQuay authored
Fixes #4224. R=golang-dev, dave, minux.ma, mikioh.mikioh, alex.brainman, rsc, herbert.fischer CC=golang-dev https://golang.org/cl/6675043
-
- 01 Mar, 2012 1 commit
-
-
Robert Griesemer authored
(Semi-automatically detected.) R=golang-dev, remyoudompheng, r CC=golang-dev https://golang.org/cl/5715052
-
- 17 Feb, 2012 1 commit
-
-
Mikio Hara authored
Also fixes plan9 cross-build. R=rsc, r CC=golang-dev https://golang.org/cl/5675073
-
- 21 Jan, 2012 1 commit
-
-
Mikio Hara authored
Fixes #2654. R=rsc CC=golang-dev https://golang.org/cl/5545058
-
- 17 Jan, 2012 1 commit
-
-
Alex Brainman authored
Mostly copied comments from unix files. R=rsc CC=golang-dev https://golang.org/cl/5533057
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
- 31 Oct, 2011 1 commit
-
-
Fazlul Shahriar authored
Makes all tests pass. R=rsc CC=golang-dev https://golang.org/cl/5320041
-
- 18 Oct, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5313043
-
- 13 Sep, 2011 1 commit
-
-
Nigel Tao authored
This CL only supports Unix, not Plan 9 or Windows. R=rsc CC=golang-dev https://golang.org/cl/4996048
-
- 17 Aug, 2011 1 commit
-
-
Fazlul Shahriar authored
All tests enabled by default passes except those in timeout_test.go. For TestLookupPort, add an entry for "bootps" in /lib/ndb/common (Plan 9 calls it "bootp"). I've sent out a patch to fix this. R=paulzhol, rsc, mikioh.mikioh CC=ality, golang-dev https://golang.org/cl/4779041
-