- 03 Oct, 2014 2 commits
-
-
Mikio Hara authored
This CL chops existing sticky socket option handlers and puts them into platform dependent sticky socket option binding table for supporting multicast features such as source filtering for any-source multicast, source-specific multicast. Also adds tiny syscall shims to help to support solaris, to improve existing platform support. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/140640045
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/154770043
-
- 24 Sep, 2014 1 commit
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/142540044
-
- 23 Sep, 2014 2 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/146210043
-
Mikio Hara authored
This CL factors out ICMP utilities used by both ipv4 and ipv6 packages. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/143460043
-
- 22 Sep, 2014 1 commit
-
-
Mikio Hara authored
LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://golang.org/cl/146890043
-
- 20 Sep, 2014 1 commit
-
-
Mikio Hara authored
This CL factors out number resources used by both ipv4 and ipv6 packages. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/124340043
-
- 18 Sep, 2014 1 commit
-
-
Mikio Hara authored
The syscall package of standard library is now locked down and go.sys/unix is under curation. Also go.sys/unix doesn't help supporting go1.3 and earlier users. There's no way to extend this package without holding the platform adaptation code. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/146740043
-
- 11 Aug, 2014 1 commit
-
-
Andrew Bursavich authored
It seems like it was meant to be this way. There was already a for loop, but then it made a recursive call instead. LGTM=sameer R=golang-codereviews, sameer CC=golang-codereviews https://golang.org/cl/113540044
-
- 01 Aug, 2014 1 commit
-
-
Sameer Ajmani authored
to construct the context left-to-right. External implementations of the Context interface may break the chain, but establishing this pattern now may encourage them to do the right thing. LGTM=bcmills R=bcmills CC=golang-codereviews https://golang.org/cl/116430044
-
- 30 Jul, 2014 2 commits
-
-
Sameer Ajmani authored
LGTM=bcmills R=bcmills CC=golang-codereviews https://golang.org/cl/116420045
-
Sameer Ajmani authored
WithCancel, and WithTimeout to use different concrete types. Update the tests and documentation. This change reduces the size of context structs, reduces the number of allocations (see TestAllocs) and removes unnecessary pointers from the heap, such as the timer field for non-timer contexts. IMPORTANT: I've removed the code in these functions that handles nil Context parameters. Passing a nil parent Context will now cause a panic. LGTM=bcmills R=bcmills, crawshaw CC=adonovan, golang-codereviews, rsc https://golang.org/cl/116400043
-
- 29 Jul, 2014 1 commit
-
-
Sameer Ajmani authored
This is the first step in splitting the various context implementations into smaller types. Add a test that creates a large, random stack of Contexts and tests that they work properly. LGTM=crawshaw R=crawshaw CC=golang-codereviews https://golang.org/cl/115350044
-
- 24 Jul, 2014 1 commit
-
-
Sameer Ajmani authored
Use consistent spelling. LGTM=bcmills R=bcmills CC=golang-codereviews https://golang.org/cl/117170044
-
- 23 Jul, 2014 1 commit
-
-
Nigel Tao authored
LGTM=dr.volker.dobler R=dr.volker.dobler CC=golang-codereviews https://golang.org/cl/116080045
-
- 10 Jul, 2014 1 commit
-
-
Sameer Ajmani authored
makes the Context interface dependent only on standard packages, which means types in other packages can implement this interface without depending on go.net/context. Remove the NewKey function and add examples showing how to use unexported types to avoid key collisions. This is the same model used by http://www.gorillatoolkit.org/pkg/context, except we associate values with a specific Context instead of storing them in a package-level map. LGTM=crawshaw R=golang-codereviews, crawshaw, dsymonds CC=golang-codereviews, rsc https://golang.org/cl/104480044
-
- 18 Jun, 2014 1 commit
-
-
Alex Brainman authored
Do not assume that a particular code path is selected in WithTimeout. Also Windows cannot wait for less then 15 millisecond, so use that instead of 1 nanosecond in test. Otherwise test takes too long while it looks like it is quick. Fixes golang/go#8033. LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/103470044
-
- 12 Jun, 2014 1 commit
-
-
Frederick Kelly Mayle III authored
LGTM=andybalholm, nigeltao R=golang-codereviews, gobot, nigeltao, andybalholm CC=golang-codereviews https://golang.org/cl/93680045
-
- 22 May, 2014 1 commit
-
-
Brad Fitzpatrick authored
Also rewrite it a bit for clarity (IMO). LGTM=pzm, r R=pzm, adg, r CC=golang-codereviews https://golang.org/cl/96560043
-
- 21 May, 2014 2 commits
-
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/98440046
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/95560048
-
- 20 May, 2014 1 commit
-
-
Mikio Hara authored
This CL disables the use of ip_mreqn with IP_{ADD,DROP}_MEMBERSHIP on FreeBSD due to some test flakiness on some kernel versions that support IGMPv3. It will be fixed once we support IGMPv3 related features such as source-specific multicasting and source filtering. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/94670043
-
- 19 May, 2014 2 commits
-
-
Mikio Hara authored
This CL restores use of syscall functions and constants that doesn't break the build on Go 1.1 and beyond. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/92320046
-
Mikio Hara authored
This CL adds support for dragonfly and IP_PKTINFO support for darwin with less dependency on syscall package. Update golang/go#7175 Fixes golang/go#7172. LGTM=iant R=golang-codereviews, gobot, iant CC=golang-codereviews https://golang.org/cl/97800043
-
- 16 May, 2014 1 commit
-
-
Sameer Ajmani authored
deadlines, cancellation, and other values across APIs and between processes. LGTM=crawshaw R=rsc, crawshaw CC=bradfitz, golang-codereviews https://golang.org/cl/99330045
-
- 12 May, 2014 1 commit
-
-
Andrew Balholm authored
As pointed out at https://groups.google.com/forum/#!topic/golang-nuts/LJozHIXAAJY, `<<p>html</p>` was parsed as `<<p>html</p>`. There was no test case for this. Chrome parses it as `<<p>html</p>`, and that seems to be correct. We were missing the "Reconcume the current input character" step at http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tag-open-state LGTM=nigeltao R=golang-codereviews, gobot, nigeltao CC=golang-codereviews, nigeltao https://golang.org/cl/96060044
-
- 05 May, 2014 1 commit
-
-
Andrew Gerrand authored
LGTM=mikioh.mikioh R=mikioh.mikioh, minux.ma CC=golang-codereviews https://golang.org/cl/97970045
-
- 02 May, 2014 2 commits
-
-
Robert Griesemer authored
LGTM=adonovan R=adonovan CC=golang-codereviews, golang-dev https://golang.org/cl/97950043
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/91020043
-
- 28 Apr, 2014 1 commit
-
-
Mikio Hara authored
Fixes golang/go#7173. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/90820044
-
- 27 Apr, 2014 2 commits
-
-
Mikio Hara authored
Update golang/go#7174 LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/91770049
-
Mikio Hara authored
Fixes golang/go#5709. Fixes golang/go#5811. LGTM=dave R=dave CC=golang-codereviews https://golang.org/cl/21360043
-
- 26 Apr, 2014 1 commit
-
-
Robert Obryk authored
SOCKS5 uses a single-byte field for domain name length. This change causes dials to domain names longer than 255 chars to fail instead of sending an invalid request to the proxy. LGTM=mikioh.mikioh R=golang-codereviews, mikioh.mikioh CC=golang-codereviews https://golang.org/cl/90790044
-
- 18 Apr, 2014 1 commit
-
-
Nigel Tao authored
have in the bit-packing. This was previously printed to stderr by gen.go, but is now written to the generated table.go, so that we have better records of how it changes over time. LGTM=dr.volker.dobler R=dr.volker.dobler CC=golang-codereviews https://golang.org/cl/89090043
-
- 17 Apr, 2014 1 commit
-
-
Nigel Tao authored
TBR=volker.dobler R=golang-codereviews CC=golang-codereviews https://golang.org/cl/89080043
-
- 19 Mar, 2014 1 commit
-
-
Mikio Hara authored
It's been observed when the node under test has a tiny resource configutation or package http has changed the behavior of its own active connection pool. For example, http://build.golang.org/log/8912bc0944628cf1b4fe4063a77d36d19f9dd6a3 LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/78640043
-
- 18 Feb, 2014 1 commit
-
-
Volker Dobler authored
LGTM=nigeltao R=nigeltao CC=bradfitz, golang-codereviews https://golang.org/cl/33810044
-
- 13 Feb, 2014 1 commit
-
-
Nigel Tao authored
the Public Suffix List as a compact sequence of uint32s. Currently: max children 366 (capacity 511) max text offset 22351 (capacity 32767) max text length 36 (capacity 63) max hi 6406 (capacity 16383) max lo 6399 (capacity 16383) LGTM=dr.volker.dobler R=dr.volker.dobler CC=golang-codereviews https://golang.org/cl/62000046
-
- 11 Feb, 2014 1 commit
-
-
Nigel Tao authored
Also add a sanity check for the erroneous all-caps "TOKYO" that was fixed in http://hg.mozilla.org/mozilla-central/rev/e85f83f352de LGTM=dr.volker.dobler R=dr.volker.dobler CC=golang-codereviews https://golang.org/cl/58890045
-
- 29 Jan, 2014 1 commit
-
-
Mikio Hara authored
FreeBSD 10 kernel has changed its incoming IPv4 packet handling to stop trimming some IPv4 header fields on raw socket IO. This CL just adapts package's IPv4 header representation to look the same even on FreeBSD 10 kernel. For further information: http://svnweb.freebsd.org/base/head/?view=log&pathrev=226105 http://svnweb.freebsd.org/base/head/?view=log&pathrev=241913 http://svnweb.freebsd.org/base/head/?view=log&pathrev=241923 LGTM=iant R=golang-codereviews, gobot, dave, iant CC=golang-codereviews https://golang.org/cl/53030043
-