An error occurred fetching the project authors.
- 13 Aug, 2013 1 commit
-
-
Mikio Hara authored
Just for readability reasons; to prevent overlooking deadline stuff across over platforms. R=golang-dev, dvyukov CC=golang-dev https://golang.org/cl/8656044
-
- 03 Aug, 2013 1 commit
-
-
Mikio Hara authored
This CL makes IPAddr, UDPAddr and TCPAddr implement sockaddr interface, UnixAddr is already sockaddr interface compliant, and reduces unnecessary conversions between net.Addr, net.sockaddr and syscall.Sockaddr. This is in preparation for runtime-integrated network pollster for BSD variants. Update #5199 R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/12010043
-
- 29 Jul, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/11985043
-
- 28 Jul, 2013 1 commit
-
-
Mikio Hara authored
This is in preparation for runtime-integrated network pollster for BSD variants. Update #5199 R=golang-dev, dave CC=golang-dev https://golang.org/cl/11932044
-
- 23 Apr, 2013 1 commit
-
-
Mikio Hara authored
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/8698049
-
- 09 Apr, 2013 1 commit
-
-
Mikio Hara authored
Makes it possible to return the spent runtime.PollDesc to runtime.pollcache descriptor pool when netFD.connect or syscall.Listen fails. Fixes #5219. R=dvyukov, dave, bradfitz, adg CC=golang-dev https://golang.org/cl/8318044
-
- 31 Mar, 2013 1 commit
-
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8063044
-
- 23 Mar, 2013 1 commit
-
-
Mikio Hara authored
This CL updates CL 7511043; - adds new test cases for both UDPConn and UnixConn, - makes sure unnamed UnixAddr handling, - replaces t.Errorf with t.Fatalf in sockname related test cases. Fixes #3721 (again). Fixes #3838 (again). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7627048
-
- 22 Mar, 2013 1 commit
-
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/7877045
-
- 08 Feb, 2013 1 commit
-
-
Mikio Hara authored
The socket for AF_UNIX domain with SOCK_DGARM type isn't allowed to work with syscall listen. R=rsc CC=golang-dev https://golang.org/cl/7310068
-
- 30 Jan, 2013 1 commit
-
-
Jeff R. Allen authored
Handle return values from recvfrom correctly when the kernel decides to not return an address. Fixes #4636. Fixes #4352. R=rsc, mikioh.mikioh, dave CC=golang-dev https://golang.org/cl/7058062
-
- 16 Dec, 2012 1 commit
-
-
Mikio Hara authored
This CL breaks Go 1 API compatibility but it doesn't matter because previous ListenUnixgram doesn't work in any use cases, oops. The public API change is: -pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error) +pkg net, func ListenUnixgram(string, *UnixAddr) (*UnixConn, error) Fixes #3875. R=rsc, golang-dev, dave CC=golang-dev https://golang.org/cl/6937059
-
- 18 Nov, 2012 1 commit
-
-
Dave Cheney authored
This is part 1 of a series of proposals to fix issue 4369. In resolving issue 3507 it was decided not to nil out the inner conn.fd field to avoid a race. This implies the checks for fd == nil inside incref/decref are never true. Removing this logic removes one source of errClosing error values, which affects issue 4373 and moves towards bradfitz's request that fd.accept() return io.EOF when closed concurrently. Update #4369. Update #4373. R=mikioh.mikioh, bradfitz, dvyukov, rsc CC=golang-dev https://golang.org/cl/6852057
-
- 08 Nov, 2012 1 commit
-
-
Brad Fitzpatrick authored
Integrates with the pollserver now. Uses the old implementation on windows and plan9. Fixes #2631 R=paul, iant, adg, bendaglish, rsc CC=golang-dev https://golang.org/cl/6815049
-
- 29 May, 2012 1 commit
-
-
Rémy Oudompheng authored
Fixes #3345. R=golang-dev, r, rsc, dave CC=golang-dev, remy https://golang.org/cl/6214061
-
- 27 Apr, 2012 1 commit
-
-
Dave Cheney authored
In resolving 3507, the fix had to be applied individually to the four *Conn types, tcp, udp, rawip and unix, due to the duplicate code in each Conn type. This CL consolidates the common net.Conn methods that all four *Conn types implement into a base conn type. Pros: * The fix for 3507 would have only needed to be applied to one method. Further improvements, such as possibly removing the c.fd != nil check in c.ok(), would benefit from this CL. * Nearly 300 lines removed from the net package. * The public interface and documentation are not changed. * I think this is an excellent example of the power of embedding. Cons: * The net package is already distributed over many files, this CL adds another place to look. * The fix for 3507 was a total of 16 lines changed, this follow up CL could be considered to be an overreaction as new Conn types are unlikely to be added in the near future. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6098047
-
- 23 Apr, 2012 1 commit
-
-
Rémy Oudompheng authored
R=golang-dev, dave, rsc CC=golang-dev, remy https://golang.org/cl/6097044
-
- 21 Apr, 2012 1 commit
-
-
Dave Cheney authored
Fixes #3507. Applied the suggested fix from rsc. If the connection is in closing state then errClosing will bubble up to the caller. The fix has been applied to udp, ip and unix as well as their code path include nil'ing c.fd on close. Func tests are available in the linked issue that verified the bug existed there as well. R=rsc, fullung, alex.brainman, mikioh.mikioh CC=golang-dev https://golang.org/cl/6002053
-
- 08 Mar, 2012 1 commit
-
-
Russ Cox authored
Fixes #3247. R=golang-dev, jsing CC=golang-dev https://golang.org/cl/5784051
-
- 05 Mar, 2012 1 commit
-
-
Mikio Hara authored
This CL changes the behavior of Dial and Listen API family. Previous Dial and Listen allow a combo of "tcp6" and IPv4 or IPv6 IPv4-mapped address as its argument, but it also makes slightly different behaviors between Linux and other platforms. This CL fixes such differences across over platforms by tweaking IP-level socket option IPV6_V6ONLY. Consequently new Dial and Listen API family will reject arguments consists of "tcp6" and IPv4 or IPv6 IPv4-mapped address. This CL also adds a bit clarified unicast listener tests. Fixes #2581. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/5677086
-
- 22 Feb, 2012 1 commit
-
-
Mikio Hara authored
This CL replaces the last two in source tree. R=golang-dev, r CC=golang-dev https://golang.org/cl/5685080
-
- 16 Feb, 2012 1 commit
-
-
Rob Pike authored
The set of errors forwarded by the os package varied with system and was therefore non-portable. Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission. One or two more may need to come, but let's keep the set very small to discourage thinking about errors that way. R=mikioh.mikioh, gustavo, r, rsc CC=golang-dev https://golang.org/cl/5672047
-
- 31 Jan, 2012 1 commit
-
-
Mikio Hara authored
R=rsc, r CC=golang-dev https://golang.org/cl/5593046
-
- 29 Jan, 2012 1 commit
-
-
Mikio Hara authored
R=rsc, r CC=golang-dev https://golang.org/cl/5569087
-
- 23 Jan, 2012 1 commit
-
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5562047
-
- 19 Jan, 2012 3 commits
-
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5536068
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5554058
-
Brad Fitzpatrick authored
Previously, a timeout (in int64 nanoseconds) applied to a granularity even smaller than one operation: a 100 byte read with a 1 second timeout could take 100 seconds, if the bytes all arrived on the network 1 second apart. This was confusing. Rather than making the timeout granularity be per-Read/Write, this CL makes callers set an absolute deadline (in time.Time) after which operations will fail. This makes it possible to set deadlines at higher levels, without knowing exactly how many read/write operations will happen in e.g. reading an HTTP request. Fixes #2723 R=r, rsc, dave CC=golang-dev https://golang.org/cl/5555048
-
- 14 Jan, 2012 1 commit
-
-
Mikio Hara authored
R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/5545044
-
- 21 Dec, 2011 1 commit
-
-
Joel Sing authored
R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5501052
-
- 14 Nov, 2011 1 commit
-
-
Russ Cox authored
- syscall (not os) now defines the Errno type. - the low-level assembly functions Syscall, Syscall6, and so on return Errno, not uintptr - syscall wrappers all return error, not uintptr. R=golang-dev, mikioh.mikioh, r, alex.brainman CC=golang-dev https://golang.org/cl/5372080
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
- 15 Sep, 2011 1 commit
-
-
Russ Cox authored
The go/build package already recognizes system-specific file names like mycode_darwin.go mycode_darwin_386.go mycode_386.s However, it is also common to write files that apply to multiple architectures, so a recent CL added to go/build the ability to process comments listing a set of conditions for building. For example: // +build darwin freebsd openbsd/386 says that this file should be compiled only on OS X, FreeBSD, or 32-bit x86 OpenBSD systems. These conventions are not yet documented (hence this long CL description). This CL adds build comments to the multi-system files in the core library, a step toward making it possible to use go/build to build them. With this change go/build can handle crypto/rand, exec, net, path/filepath, os/user, and time. os and syscall need additional adjustments. R=golang-dev, r, gri, r, gustavo CC=golang-dev https://golang.org/cl/5011046
-
- 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
-
- 16 Aug, 2011 1 commit
-
-
Aleksandar Dezelin authored
Fixes #2148. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4905042
-
- 19 Jan, 2011 1 commit
-
-
Albert Strasheim authored
R=golang-dev, rsc, rsc1 CC=golang-dev https://golang.org/cl/2309043
-
- 12 Jan, 2011 1 commit
-
-
Alex Brainman authored
thanks to piotrnar for the original CL. Fixes #1371. R=rsc CC=golang-dev https://golang.org/cl/3834042
-
- 07 Dec, 2010 1 commit
-
-
Albert Strasheim authored
Working on issue 1101. R=rsc CC=golang-dev https://golang.org/cl/2331044
-
- 05 Nov, 2010 1 commit
-
-
Keith Rarick authored
Fixes #918. R=rsc, rog, brainman CC=golang-dev https://golang.org/cl/2904041
-
- 05 May, 2010 1 commit
-
-
Conrad Meyer authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/1113041
-