- 28 Feb, 2019 1 commit
-
-
Brad Fitzpatrick authored
Comparing errors using DeepEqual breaks if frame information is added as proposed in golang/go#29934. Updates golang/go#29934 Change-Id: Ia2eb3f5ae2bdeac322b34e12d8e732174b9bd355 Reviewed-on: https://go-review.googlesource.com/c/164517 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
-
- 27 Feb, 2019 8 commits
-
-
Mickael KERJEAN authored
Fixes golang/go#29858 Change-Id: I7bd8357a7def7daab1fd6357a888ff4e676a1bee GitHub-Last-Rev: a6dc776fa3aad595643943dcff88efcf152d6be1 GitHub-Pull-Request: golang/net#32 Reviewed-on: https://go-review.googlesource.com/c/163863Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
sergeydobrodey authored
Change-Id: I60db66b5bbe25b434d8ec1fbc031438a16720dfa GitHub-Last-Rev: 152f0ce49bf929a7859818f19c8f76da9c844e27 GitHub-Pull-Request: golang/net#30 Reviewed-on: https://go-review.googlesource.com/c/163865Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
Change-Id: I7c1447849dc664ae54229345f2fce8f59204ecdf Reviewed-on: https://go-review.googlesource.com/c/150117Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
The variable name compatFreeBSD32 refers to the kernel configuration directive COMPAT_FREEBSD32 and is also used in route and ipv6 packages. Change-Id: I00e6de390c25b7df45b76e772719a83fa6b0843b Reviewed-on: https://go-review.googlesource.com/c/149879Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
The variable name compatFreeBSD32 refers to the kernel configuration directive COMPAT_FREEBSD32 and is also used in route and ipv4 packages. Change-Id: Ia6f123833af0c11398f46dfa31c3e5c5ab121fc0 Reviewed-on: https://go-review.googlesource.com/c/149878Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
Change-Id: I4710227d104330fa28a563530bd93a3ae8a6c070 Reviewed-on: https://go-review.googlesource.com/c/149877Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
Change-Id: I4eec45705348437ec2ee7eae8d0d98db0f28152d Reviewed-on: https://go-review.googlesource.com/c/155858Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Mikio Hara authored
Change-Id: I1c78c929dd824534ccc2123a63973af89b8a0081 Reviewed-on: https://go-review.googlesource.com/c/155857Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
- 26 Feb, 2019 3 commits
-
-
Santhosh Kumar Tekuri authored
Fixes golang/go#30295 Change-Id: Ib98fde1f2f0d166e199238de45ca95aa34164040 Reviewed-on: https://go-review.googlesource.com/c/162925 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
-
Santhosh Kumar Tekuri authored
Fixes golang/go#30275 Change-Id: I0636326dc5d2b59d0dbdc446c2a424c50a395b2f Reviewed-on: https://go-review.googlesource.com/c/162923Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com> Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Brad Fitzpatrick authored
A bot inside Google was nagging me about this so change plusone to minusone to hide it from the bot which doesn't understand that it's just test data. Change-Id: I2300a3e8c2ca969d61cae2d6bdc0683743b534e1 Reviewed-on: https://go-review.googlesource.com/c/162888 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
- 25 Feb, 2019 1 commit
-
-
zoncoen authored
Change-Id: I7127c3d646042c92fbfbd45e75b08e9b3776d8e9 Reviewed-on: https://go-review.googlesource.com/c/163657Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 13 Feb, 2019 1 commit
-
-
Kunpei Sakai authored
The ancestor doesn't always match with the first. Change-Id: I0edcbffab7e19ba1731e849021ffbb7428ec48d7 Reviewed-on: https://go-review.googlesource.com/c/161857 Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
- 06 Feb, 2019 1 commit
-
-
Brad Fitzpatrick authored
We were previously demoing HTTP/1 vs HTTP/2 loading performance using http:// scheme (which uses HTTP/1 implicitly) on the http2.golang.org domain for HTTP/1, and https://http2.golang.org for HTTP/2. But then golang.org got into the HSTS preload list, forcing all *.golang.org to only be HTTPS. So now, rather than find a new base domain name, to compare against HTTP/1 we instead use https://http1.golang.org/ and then use the SNI name to determine whether we advertise "h2". Also, some cleanup: * remove launch.go; it's no longer used since we moved to kubernetes * use a multi-stage Dockerfile rather than the hacky workarounds that used to be necessary to simulate multiple stages * modernize the kubernetes deployment stuff to match how we do it elsewhere ("gcloud docker" is long deprecated too) * update from Go 1.9 to Go 1.11 for the prod base Fixes golang/go#30033 Change-Id: I9f6b1f496d4005e5a08bf990843d440005a5b3e8 Reviewed-on: https://go-review.googlesource.com/c/160857Reviewed-by: Andrew Bonventre <andybons@golang.org>
-
- 25 Jan, 2019 2 commits
-
-
Kunpei Sakai authored
Fixes golang/go#27842 Change-Id: I06eb3c0c18be3566bd30a29fca5f3f7e6791d2cc Reviewed-on: https://go-review.googlesource.com/c/137275 Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
Kunpei Sakai authored
By proceeding without distinguishing namespace, inconsistency will occur. This commit makes the method distinguish the HTML namespace. Fixes golang/go#27846 Change-Id: I8269f670240c0fe31162a16fbe1ac23acacec00f Reviewed-on: https://go-review.googlesource.com/c/159397 Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
- 19 Jan, 2019 1 commit
-
-
Michael Fraenkel authored
This reverts CL 111676 for golang/go#25023. Reason for revert: The code change no longer issued a WindowUpdate which is required when processing data. The original issue found in golang/go#25023 is not present after the revert. Updates golang/go#28204 Change-Id: Iadbb63d50ca06df1281e699b9ef13181d0593f80 Reviewed-on: https://go-review.googlesource.com/c/153977Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 10 Jan, 2019 2 commits
-
-
Brad Fitzpatrick authored
From comment at @santsai at https://github.com/golang/go/issues/24137#issuecomment-452983000 Change-Id: Icf0aff2172811752b240d94e709550b0da353360 Reviewed-on: https://go-review.googlesource.com/c/157378 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: JBD <jbd@google.com>
-
Mikio Hara authored
It's confirmed that this package works on FreeBSD 12-STABLE kernels. Change-Id: I1f304d3885a351c8c9332b18d6842d1d8d6a66da Reviewed-on: https://go-review.googlesource.com/c/157277 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 08 Jan, 2019 3 commits
-
-
Mikio Hara authored
We need to be careful once we opened the door to the routing facilities inside the kernel. Also realigns the query parameters for clarification. Fixes golang/go#29348. Change-Id: I3e3379a85e9690a0ad5427ce75503db0795cfb7e Reviewed-on: https://go-review.googlesource.com/c/155197 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
-
Wèi Cōngruì authored
Environment variable 'ALL_PROXY=socks5h://example.com' is commonly used to specify a SOCKS5 proxy server. In curl, 'socks5' means the host name will be resolved locally, and 'socks5h' means the host name will be resolved by the server. Go SOCKS5 client always uses the server to resolve host names. So this change just added socks5h as a supported URL scheme. Fixes golang/go#13454 Change-Id: I06d2b07f66cd0923c114dba4df0f884b39e58bc0 Reviewed-on: https://go-review.googlesource.com/c/156517Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
After CL 156597 it's no longer necessary to initialize the ctlOpts and sockOpts tables in the init func. Instead, just directly initialize them. Change-Id: I62b4dd980b3cb87e3cbc71ea4874f6512b5cfefa Reviewed-on: https://go-review.googlesource.com/c/156797 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 07 Jan, 2019 3 commits
-
-
Tobias Klauser authored
Drop the check for macOS 10.7 and earlier. Go 1.11 requires at least macOS 10.10 and macOS 10.7 is no longer supported by Apple anyhow. Change-Id: Ie7d9d27e0b9156ea478bf560734f4a85dfa163d6 Reviewed-on: https://go-review.googlesource.com/c/156597 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Tobias Klauser authored
This wasn't actually generated on freebsd/arm64 yet. It's mostly a copy of the amd64 files for now. Updates golang/go#24715 Change-Id: Iee8c12c29f1d74780948553047bc693668dde0b3 Reviewed-on: https://go-review.googlesource.com/c/156499 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Tobias Klauser authored
The causesIPv6Crash helper function was only needed on macOS 10.8 and before. However, Go 1.11 requires at least macOS 10.11, so drop the check altogether. Also remove the unused implementations for all other geese. Change-Id: I7459f942374e7e2e6c14b787e2dfc493de67bedc Reviewed-on: https://go-review.googlesource.com/c/156497 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 20 Dec, 2018 2 commits
-
-
Nigel Tao authored
Consider the "uberspace.de" domain. The relevant rules in the Public Suffix List are "*.uberspace.de" (in the PRVIATE DOMAIN section) and "de" (in the ICANN DOMAIN section). The PublicSuffix function returns a string and a bool. Both before and after this commit, the string returned is "de", which is correct according to a literal interpretation of the formal algorithm. But the bool returned, icann-ness, is false before and true after. The correct answer is true, since the matching rule, "de", is in the ICANN DOMAIN section of the PSL. Before this commit, the two-stage match for "*.uberspace" set the icann bit when matching the back part, "uberspace", before checking that the front part, the "*" wildcard, also matched. A couple more examples, for the "bd" and "ck" domains. The relevant rules are "*.bd" and "*.ck", with no non-wildcard "bd" or "ck" rule. Before this commit, the PublicSuffix function would return (icann == true), when the correct result is (icann == false), the same as for "nosuchtld". Benchmarks get worse, but correctness trumps performance. Future commits may be able to recover some of the loss. In any case, in absolute terms, 15µs is still pretty fast. name old time/op new time/op delta PublicSuffix-56 11.0µs ± 0% 14.8µs ± 2% +34.57% (p=0.000 n=9+10) Change-Id: I85ca6ab57a31308af5a29c46313197897eab5ab6 Reviewed-on: https://go-review.googlesource.com/c/154977Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
Nigel Tao authored
Change-Id: I51d236b07f187a6cbf4f6b8167f445e3280bbdf6 Reviewed-on: https://go-review.googlesource.com/c/155199Reviewed-by: Nigel Tao <nigeltao@golang.org>
-
- 17 Dec, 2018 1 commit
-
-
Joel Sing authored
The OpenBSD armv7 port requires 64-bit alignment for cmsgs. Change-Id: Ibb1c5dc32c9e0851d0ee23b4ebdb316d7ed79629 Reviewed-on: https://go-review.googlesource.com/c/154397Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 13 Dec, 2018 1 commit
-
-
Michael Fraenkel authored
dynamic table size updates must occur at the beginning of the first header block. The original fix, golang/go#25023, guaranteed it was at the beginning of the very first block. The Close method implicitly marked the end of the current header. We now document the Close behavior and can track when we are at the beginning of the first block. Updates golang/go#29187 Change-Id: I83ec39546527cb17d7de8a88ec417a46443d2baa Reviewed-on: https://go-review.googlesource.com/c/153978Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 07 Dec, 2018 1 commit
-
-
Michal Rostecki authored
Before this change, error returned by `io.ReadFull` was silently ignored Signed-off-by: Michal Rostecki <mrostecki@suse.de> Change-Id: I6a4604f0c0172a4b951fa4fc99ee83c6ba2ac8d7 Reviewed-on: https://go-review.googlesource.com/c/153137Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 01 Dec, 2018 1 commit
-
-
Brad Fitzpatrick authored
And add the http2.Transport.StrictMaxConcurrentStreams bool knob to behavior being reverted. In CL 53250 for golang/go#13774 (for Go 1.10) we changed the HTTP/2 Transport's policy such that a server's advertisement of a MAX_CONCURRENT_STREAMS value meant that it was a maximum for the entire process, instead of just a single connection. We thought that was a reasonable interpretation of the spec and provided nice safety against slamming a server from a bunch of goroutines doing concurrent requests, but it's been largely unpopular (see golang/go#27044). It's also different behavior from HTTP/1 and because you're usually not sure which protocol version you're going to get, you need to limit your outbound HTTP requests anyway in case you're hitting an HTTP/1 server. And nowadays we have the Go 1.11 Transport.MaxConnsPerHost knob too (CL 71272 for golang/go#13957). It doesn't yet work for HTTP/2, but it will in either Go 1.12 or Go 1.13 (golang/go#27753) After this is bundled into net/http's, the default HTTP client will have this knob set false, restoring the old Go 1.9 behavior where new TCP connections are created as necessary. Users wanting the strict behavior and import golang.org/x/net/http2 themselves and make a Transport with StrictMaxConcurrentStreams set to true. Or they can set Transport.MaxConnsPerHost, once that works for HTTP/2. Updates golang/go#27044 (fixes after bundle into std) Change-Id: I4efdad7698feaf674ee8e01032d2dfa5c2f8a3a8 Reviewed-on: https://go-review.googlesource.com/c/151857Reviewed-by: Andrew Bonventre <andybons@golang.org>
-
- 29 Nov, 2018 1 commit
-
-
Filippo Valsorda authored
Fixes golang/go#28762 Change-Id: I8d8b74cd8836bbed3116b334f6595225a8f0a36e Reviewed-on: https://go-review.googlesource.com/c/151619Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 14 Nov, 2018 2 commits
-
-
Keith Randall authored
Use libc calls instead of raw syscalls on Darwin. Change-Id: I0319ae61e3575e7f76b975b9325c9078ab3440d5 Reviewed-on: https://go-review.googlesource.com/c/149617Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Keith Randall authored
Starting with 1.12, we must use syscall versions of sysctl instead of the raw syscall. An identical CL will go into the vendored copy of this package in the stdlib. Change-Id: I6286ab3e49f82512491afb5bcf349e89ab5645ab Reviewed-on: https://go-review.googlesource.com/c/148597 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 13 Nov, 2018 2 commits
-
-
Dmitri Shuralyov authored
Fixes golang/go#21358 Change-Id: I8f8653df3c1e3c86cc8515a78509a8af03160944 Reviewed-on: https://go-review.googlesource.com/c/149277 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Updates golang/go#28762 Change-Id: If73b292f28e553646431af995942169ce58d43f5 Reviewed-on: https://go-review.googlesource.com/c/149357 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-
- 08 Nov, 2018 3 commits
-
-
Mikio Hara authored
Change-Id: I9f5fa605d9dc4047f916d9adc998ed23a65839ed Reviewed-on: https://go-review.googlesource.com/c/148357 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Brad Fitzpatrick authored
Fixes golang/go#21364 Change-Id: Ibfc6f5001d7038e4efd1f3fe8fc6d3fdded85551 Reviewed-on: https://go-review.googlesource.com/c/148438Reviewed-by: Daniel Theophanes <kardianos@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
Brad Fitzpatrick authored
Change-Id: I07355ffab9e0e9437dc43cb99670736fe65bc25a Reviewed-on: https://go-review.googlesource.com/c/148437 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-