- 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>
-
- 07 Nov, 2018 2 commits
-
-
Ruslan Nigmatullin authored
Updates golang/go#27208 Change-Id: I5d9a643f33d27d33b24f670c98f5a51aa6000967 GitHub-Last-Rev: 3ac4a573b62846ef4944599085218e119819383c GitHub-Pull-Request: golang/net#18 Reviewed-on: https://go-review.googlesource.com/c/132715 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Michael Stapelberg authored
Updates golang/go#28535 Change-Id: Id653b21b4d893cc8b6b9a74b129d1ce9b7e26a9f Reviewed-on: https://go-review.googlesource.com/c/147739Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com> Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
-
- 06 Nov, 2018 2 commits
-
-
Mikio Hara authored
Also updates package documentation for AIX. Change-Id: I4809a334f0a4b8f3fb5345749477394b8f3e7546 Reviewed-on: https://go-review.googlesource.com/c/147678 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Mikio Hara authored
On Solaris, the MakeRaw and Restore functions of the x/crypto/ssh/terminal package have been implemented, but on upcoming platforms such as AIX, Fuchsia and Hurd still have no implementation. Change-Id: I253249376802273f0160bf3ff1062a66e07b280f Reviewed-on: https://go-review.googlesource.com/c/147677Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 02 Nov, 2018 2 commits
-
-
uhei authored
RFC 7223, Section 3 defines 32 bits for if-index. RFC 8335, Section 2.1 defines "If the Interface Identification Object identifies the probed interface by index, the length is equal to 8 and the payload contains the if-index [RFC7223]." The object should be comprised of a 4-byte object header and a 4-byte interface index. Fixes golang/go#28530 Change-Id: Ib3ac729b7ec738a90a8c76ef984da0d5b28fa9c9 GitHub-Last-Rev: eba6714ed4c7af61e89f6e54d6a7544c570acebb GitHub-Pull-Request: golang/net#23 Reviewed-on: https://go-review.googlesource.com/c/146637 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
-
Mikio Hara authored
This reverts commit e1173011. Reason for revert: The reverted test case is one of typical wrong wire format test cases. The exposed API intentionally doesn't provide any extenion object validation because the API is also used to construct wire format compliance test tools. The API is extesion object-agnostic and should be able to transmit and receive payload containing extension objects in wrong wire format. Please preserve such test cases for now. If you want to drop such test case, please add 1) extension object validation, 2) a control knob for skipping validation, then drop all of them. Change-Id: I5c488c95523488e511e7a91e29a2f24f08448415 Reviewed-on: https://go-review.googlesource.com/c/146877Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
-
- 01 Nov, 2018 2 commits
-
-
uhei authored
RFC8335 [1] Sec 2: "When applied to the ICMP Extended Echo Request message, the ICMP Extension Structure MUST contain exactly one instance of the Interface Identification Object." The InterfaceIdent by name object seems to be a copy/paste issue. [1]: https://www.rfc-editor.org/rfc/rfc8335.txt Change-Id: I1ef5f38382ebede0cb3ee792892673f6c2b39672 GitHub-Last-Rev: 73f963c5dc1c83bef08fdcfa89a3608e7345f3c4 GitHub-Pull-Request: golang/net#24 Reviewed-on: https://go-review.googlesource.com/c/146638 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Brad Fitzpatrick authored
Go's policy is to only support the past two releases (which is currently Go 1.11 and Go 1.10). But because App Engine was stuck on Go 1.6 and Go 1.8 for so long, we kept kinda supporting Go 1.6 anyway, even though we didn't actively test it with any CI system. But that led to code getting disgusting and full of too many +build-tagged files and indirection, as this change shows. So, remove Go 1.8, Go 1.7, and Go 1.6 support. We still "support" Go 1.9 for now, even though it's also not actively tested. Fixes golang/go#26302 Change-Id: I4aa5793173e50ffcd67be52a464492ca48fc9a23 Reviewed-on: https://go-review.googlesource.com/c/145677Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-
- 29 Oct, 2018 1 commit
-
-
Igor Zhilianin authored
Change-Id: Ifa39718a790a7350a0c8f23d21356d42b15e0668 GitHub-Last-Rev: 63d19182f013827cc15533b743fb08b526ca3dd2 GitHub-Pull-Request: golang/net#22 Reviewed-on: https://go-review.googlesource.com/c/145357Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 23 Oct, 2018 1 commit
-
-
chigotc authored
This commit adds AIX operating system to internal/nettest package. It also disables unixpacket network. Change-Id: Ie1a0b5c02d41ede7297c3706f6967be3438321a5 Reviewed-on: https://go-review.googlesource.com/c/144077Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 17 Oct, 2018 1 commit
-
-
Volker Dobler authored
Update the list to revision 6f2b9e75eaf65bb75da83677655a59110088ebc5 (2018-10-03T13:34:55Z). Change-Id: Ibd1b55075213dc98d751be9d7f6e4e3bce3ddf05 Reviewed-on: https://go-review.googlesource.com/c/142917Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
- 11 Oct, 2018 1 commit
-
-
Arthur Fabre authored
Add a JumpIfX instruction which implements conditional jumps using RegA and RegX. This is in addition to the pre-existing JumpIf instruction which uses RegA and K. This instruction / addressing mode is not mentionned in the original BPF paper, but is supported by tools like bpf_asm, and has recently been added to the kernel's filter.txt. Simplify some of the parsing logic, and add a separate helper for checking for "fake" JumpIfs. Add JumpIfX support to the BPF vm. Update testdata with JumpIfX instructions, and add tests for both the assembler/disassembler and vm. Fixes golang/go#27814 Change-Id: I0c3f6ac7eb5b4cd4d9c5af8784ee2e8d25195a0a GitHub-Last-Rev: 39a88165b2d3253c37db4b0e303d862b60dc37c9 GitHub-Pull-Request: golang/net#20 Reviewed-on: https://go-review.googlesource.com/c/136895Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-