Permalink
Switch branches/tags
weekly.2012-03-27 weekly.2012-03-22 weekly.2012-03-13 weekly.2012-03-04 weekly.2012-02-22 weekly.2012-02-14 weekly.2012-02-07 weekly.2012-01-27 weekly.2012-01-20 weekly.2012-01-15 weekly.2011-12-22 weekly.2011-12-14 weekly.2011-12-06 weekly.2011-12-02 weekly.2011-12-01 weekly.2011-11-18 weekly.2011-11-09 weekly.2011-11-08 weekly.2011-11-02 weekly.2011-11-01 weekly.2011-10-26 weekly.2011-10-25 weekly.2011-10-18 weekly.2011-10-06 weekly.2011-09-21 weekly.2011-09-16 weekly.2011-09-07 weekly.2011-09-01 weekly.2011-08-17 weekly.2011-08-10 weekly.2011-07-29 weekly.2011-07-19 weekly.2011-07-07 weekly.2011-06-23 weekly.2011-06-16 weekly.2011-06-09 weekly.2011-06-02 weekly.2011-05-22 weekly.2011-04-27 weekly.2011-04-13 weekly.2011-04-04 weekly.2011-03-28 weekly.2011-03-15 weekly.2011-03-07.1 weekly.2011-03-07 weekly.2011-02-24 weekly.2011-02-15 weekly.2011-02-01.1 weekly.2011-02-01 weekly.2011-01-20 weekly.2011-01-19 weekly.2011-01-12 weekly.2011-01-06 weekly.2010-12-22 weekly.2010-12-15.1 weekly.2010-12-15 weekly.2010-12-08 weekly.2010-12-02 weekly.2010-11-23 weekly.2010-11-10 weekly.2010-11-02 weekly.2010-10-27 weekly.2010-10-20 weekly.2010-10-13.1 weekly.2010-10-13 weekly.2010-09-29 weekly.2010-09-22 weekly.2010-09-15 weekly.2010-09-06 weekly.2010-08-25 weekly.2010-08-11 weekly.2010-08-04 weekly.2010-07-29 weekly.2010-07-14 weekly.2010-07-01 weekly.2010-06-21 weekly.2010-06-09 weekly.2010-05-27 weekly.2010-05-04 weekly.2010-04-27 weekly.2010-04-13 weekly.2010-03-30 weekly.2010-03-22 weekly.2010-03-15 weekly.2010-03-04 weekly.2010-02-23 weekly.2010-02-17 weekly.2010-02-04 weekly.2010-01-27 weekly.2010-01-13 weekly.2010-01-05 weekly.2009-12-22 weekly.2009-12-09 weekly.2009-12-07 weekly.2009-11-17 weekly.2009-11-12 weekly.2009-11-10.1 weekly.2009-11-10 weekly.2009-11-06 weekly
Nothing to show
Commits on Nov 14, 2018
  1. net/http: make Transport respect {X-,}Idempotency-Key header

    bradfitz committed Nov 5, 2018
    Fixes #19943
    
    Change-Id: I5e0fefe44791d7b3556095d726c2a753ec551ef2
    Reviewed-on: https://go-review.googlesource.com/c/147457
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commits on Nov 13, 2018
  1. net/http/httputil: make ReverseProxy automatically proxy WebSocket re…

    bradfitz committed Oct 29, 2018
    …quests
    
    Fixes #26937
    
    Change-Id: I6cdc1bad4cf476cd2ea1462b53444eccd8841e14
    Reviewed-on: https://go-review.googlesource.com/c/146437
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commits on Nov 9, 2018
  1. Revert "cmd/vet: lostcancel: suppress the check in the main.main func…

    bradfitz committed Nov 9, 2018
    …tion"
    
    This reverts CL 148758 (commit 5e17ce2)
    
    Reason for revert: breaks the build.
    
    Change-Id: I6ed15b7b8f6b74d84edab9402ddf7ae87a0d0387
    Reviewed-on: https://go-review.googlesource.com/c/148817
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  2. mime/multipart: check for quoted-printable case insensitively

    bradfitz committed Nov 8, 2018
    Fixes #28674
    
    Change-Id: Id88e0a4b86b50eb45f0d968d7e4bbe66b7f37f82
    Reviewed-on: https://go-review.googlesource.com/c/148579
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  3. cmd/go/internal/cache: fix wrong/old function name in comment

    bradfitz committed Nov 8, 2018
    Change-Id: Ia0caf2fb06097ac184f78779334460900e8c0149
    Reviewed-on: https://go-review.googlesource.com/c/148580
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Nov 2, 2018
  1. all: use "reports whether" consistently in the few places that didn't

    bradfitz committed Nov 2, 2018
    Go documentation style for boolean funcs is to say:
    
        // Foo reports whether ...
        func Foo() bool
    
    (rather than "returns true if")
    
    This CL also replaces 4 uses of "iff" with the same "reports whether"
    wording, which doesn't lose any meaning, and will prevent people from
    sending typo fixes when they don't realize it's "if and only if". In
    the past I think we've had the typo CLs updated to just say "reports
    whether". So do them all at once.
    
    (Inspired by the addition of another "returns true if" in CL 146938
    in fd_plan9.go)
    
    Created with:
    
    $ perl -i -npe 's/returns true if/reports whether/' $(git grep -l "returns true iff" | grep -v vendor)
    $ perl -i -npe 's/returns true if/reports whether/' $(git grep -l "returns true if" | grep -v vendor)
    
    Change-Id: Ided502237f5ab0d25cb625dbab12529c361a8b9f
    Reviewed-on: https://go-review.googlesource.com/c/147037
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  2. runtime: look up runtime env variables case insensitively on Windows

    bradfitz committed Nov 2, 2018
    Fixes #28557
    
    Change-Id: Ifca958b78e8c62fbc66515e693f528d799e8e84b
    Reviewed-on: https://go-review.googlesource.com/c/147039
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Nov 1, 2018
  1. net: enable RFC 6555 Fast Fallback by default

    bradfitz committed Nov 1, 2018
    The Dialer.DualStack field is now meaningless and documented as
    deprecated.
    
    To disable fallback, set FallbackDelay to a negative value.
    
    Fixes #22225
    
    Change-Id: Icc212fe07bb69d7651ab81e539b8b3e3d3372fa9
    Reviewed-on: https://go-review.googlesource.com/c/146659
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Oct 25, 2018
  1. net/http: fix comment change omitted between versions of CL 143177

    bradfitz committed Oct 25, 2018
    Updates #23689
    
    Change-Id: Icddec2fcc39802cacd651a9c94290e86cf1e48d1
    Reviewed-on: https://go-review.googlesource.com/c/144517
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Oct 24, 2018
  1. crypto/tls, net/http: reject HTTP requests to HTTPS server

    bradfitz committed Mar 15, 2018
    This adds a crypto/tls.RecordHeaderError.Conn field containing the TLS
    underlying net.Conn for non-TLS handshake errors, and then uses it in
    the net/http Server to return plaintext HTTP 400 errors when a client
    mistakenly sends a plaintext HTTP request to an HTTPS server. This is the
    same behavior as Apache.
    
    Also in crypto/tls: swap two error paths to not use a value before
    it's valid, and don't send a alert record when a handshake contains a
    bogus TLS record (a TLS record in response won't help a non-TLS
    client).
    
    Fixes #23689
    
    Change-Id: Ife774b1e3886beb66f25ae4587c62123ccefe847
    Reviewed-on: https://go-review.googlesource.com/c/143177
    Reviewed-by: Filippo Valsorda <filippo@golang.org>
Commits on Oct 12, 2018
  1. net/http: flesh out Transport's HTTP/1 CONNECT+bidi support to match …

    bradfitz committed Jul 10, 2018
    …HTTP/2
    
    Fixes #17227
    
    Change-Id: I0f8964593d69623b85d5759f6276063ee62b2915
    Reviewed-on: https://go-review.googlesource.com/c/123156
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Commits on Oct 10, 2018
  1. net/http/httputil: fix race/crash in previous ReverseProxy change

    bradfitz committed Oct 9, 2018
    The previous ReverseProxy change, CL 137335, introduced a bug which could cause
    a race and/or a crash.
    
    This reliably crashed before:
    
    $ go test -short -race -v -run=TestReverseProxyFlushInterval -count=20 net/http/httputil
    
    The problem was a goroutine was running http.ResponseWriter.Flush
    after the http.Handler's ServeHTTP completed. There was code to
    prevent that (a deferred stop call) but the stop call didn't consider
    the case where time.AfterFunc had already fired off a new goroutine
    but that goroutine hadn't yet scheduled.
    
    Change-Id: I06357908465a3b953efc33e63c70dec19a501adf
    Reviewed-on: https://go-review.googlesource.com/c/140977
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commits on Oct 9, 2018
  1. net/http/httputil: rewrite flushing code, disable on Server-Sent Events

    bradfitz committed Sep 25, 2018
    * Rewrite the flushing code to not use a persistent goroutine, which
      also simplifies testing.
    * Define the meaning of a negative flush interval. Its meaning doesn't
      change, but now it's locked in, and then we can use it to optimize
      the performance of the non-buffered case to avoid use of an AfterFunc.
    * Support (internal-only) special casing of FlushInterval values per
      request/response.
    * For now, treat Server-Sent Event responses as unbuffered. (or rather,
      immediately flushed from the buffer per-write)
    
    Fixes #27816
    
    Change-Id: Ie0f975c997daa3db539504137c741a96d7022665
    Reviewed-on: https://go-review.googlesource.com/c/137335
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Commits on Oct 4, 2018
  1. debug/pe: skip a test on windows/arm

    bradfitz committed Oct 4, 2018
    It requires a DLL that's not available on windows/arm apparently.
    
    Fixes #27904
    
    Change-Id: I082a273f62976b7184636c6aeca6201a7871d238
    Reviewed-on: https://go-review.googlesource.com/c/139720
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Katie Hockman <katie@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  2. os: make UserHomeDir specialize behavior for GOOS=android

    bradfitz committed Oct 4, 2018
    Change-Id: I69582662aeee7344226856c24907516ddfc92f60
    Reviewed-on: https://go-review.googlesource.com/c/139717
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Elias Naur <elias.naur@gmail.com>
Commits on Oct 3, 2018
  1. crypto/rand: warn to stderr if blocked 60+ sec on first Reader.Read call

    bradfitz committed Oct 3, 2018
    Fixes #22614
    
    Change-Id: I220afbaaeab4dec6d59eeeef12107234a77f1587
    Reviewed-on: https://go-review.googlesource.com/c/139419
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  2. os: add UserHomeDir

    bradfitz committed Oct 3, 2018
    Fixes #26463
    
    Change-Id: Iaef1c7456ffaeadeead6027a37d09c44a3d05bd5
    Reviewed-on: https://go-review.googlesource.com/c/139418
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Oct 2, 2018
  1. net/http: make Transport send WebSocket upgrade requests over HTTP/1

    bradfitz committed Sep 25, 2018
    WebSockets requires HTTP/1 in practice (no spec or implementations
    work over HTTP/2), so if we get an HTTP request that looks like it's
    trying to initiate WebSockets, use HTTP/1, like browsers do.
    
    This is part of a series of commits to make WebSockets work over
    httputil.ReverseProxy. See #26937.
    
    Updates #26937
    
    Change-Id: I6ad3df9b0a21fddf62fa7d9cacef48e7d5d9585b
    Reviewed-on: https://go-review.googlesource.com/c/137437
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
  2. Revert "misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge …

    bradfitz committed Oct 1, 2018
    …support"
    
    This reverts CL 131718, commit a0e7f12.
    
    Reason for revert: adds request overhead & dependency on third-party service for all users regardless of whether it's necessary.
    
    Updates #27295
    
    Change-Id: I4a8a9b0c8e4a3198c884dfbd90ba36734f70a9a9
    Reviewed-on: https://go-review.googlesource.com/138937
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Commits on Sep 26, 2018
  1. all: use strings.ReplaceAll and bytes.ReplaceAll where applicable

    bradfitz committed Sep 26, 2018
    I omitted vendor directories and anything necessary for bootstrapping.
    (Tested by bootstrapping with Go 1.4)
    
    Updates #27864
    
    Change-Id: I7d9b68d0372d3a34dee22966cca323513ece7e8a
    Reviewed-on: https://go-review.googlesource.com/137856
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  2. bytes, strings: add ReplaceAll

    bradfitz committed Sep 26, 2018
    Credit to Harald Nordgren for the proposal in
    https://golang.org/cl/137456 and #27864.
    
    Fixes #27864
    
    Change-Id: I80546683b0623124fe4627a71af88add2f6c1c27
    Reviewed-on: https://go-review.googlesource.com/137855
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  3. Revert "net/url: escape URL.RawQuery on Parse if it contains invalid …

    bradfitz committed Sep 26, 2018
    …characters"
    
    This reverts commit CL 99135 (git rev 1040626).
    
    Reason for revert: breaks valid code; see #27302
    
    Fixes #27302
    Updates #22907
    
    Change-Id: I82bb0c28ae1683140c71e7a2224c4ded3f4acea1
    Reviewed-on: https://go-review.googlesource.com/137716
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
Commits on Sep 24, 2018
  1. cmd/compile/internal/ssa: fix a typo

    bradfitz committed Jul 24, 2018
    Change-Id: Ie3a8c54fe5e1b94f506cc0e6f650aab441d28a75
    Reviewed-on: https://go-review.googlesource.com/137115
    Reviewed-by: Keith Randall <khr@golang.org>
  2. test: skip some tests on noopt builder

    bradfitz committed Sep 24, 2018
    Adds a new build tag "gcflags_noopt" that can be used in test/*.go
    tests.
    
    Fixes #27833
    
    Change-Id: I4ea0ccd9e9e58c4639de18645fec81eb24a3a929
    Reviewed-on: https://go-review.googlesource.com/136898
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Keith Randall <khr@golang.org>
  3. cmd/vendor: update golang.org/x/sys/windows for windows/arm support

    bradfitz committed Sep 24, 2018
    Updates to golang.org/x/sys git rev 90868a75f.
    
    Updates #26148
    
    Change-Id: Ic687e7e0e171690e8d937c7bb29b0e55316f874a
    Reviewed-on: https://go-review.googlesource.com/137015
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  4. net: don't reject domain names with only numbers and hyphens

    bradfitz committed Sep 24, 2018
    From #17659 (comment) ...
    
    > In kubernetes , isDomainName reject Pods "A Record" "pod-ip-address",
    > for example: "172-17-0-16", as RFC 3696 section 2 requires
    > "top-level domain names not be all-numeric", but this example has
    > three hyphen, so I think it should not be reject.
    
    Updates #17659
    
    Change-Id: Ibd8ffb9473d69c45c91525953c09c6749233ca20
    Reviewed-on: https://go-review.googlesource.com/136900
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: Ian Gudger <igudger@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
Commits on Sep 5, 2018
  1. net: don't block forever in splice test cleanup on failure

    bradfitz committed Sep 5, 2018
    The ppc64x builders are failing on the new splice test from CL 113997
    but the actual failure is being obscured by a test deadlock.
    
    Change-Id: I7747f88bcdba9776a3c0d2f5066cfec572706108
    Reviewed-on: https://go-review.googlesource.com/133417
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Commits on Aug 25, 2018
  1. net/http: make Transport return Writable Response.Body on protocol sw…

    bradfitz committed Aug 24, 2018
    …itch
    
    Updates #26937
    Updates #17227
    
    Change-Id: I79865938b05c219e1947822e60e4f52bb2604b70
    Reviewed-on: https://go-review.googlesource.com/131279
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Commits on Aug 22, 2018
  1. internal/poll, net: fix sendfile on Windows, add test

    bradfitz committed Aug 22, 2018
    Fixes #27085
    
    Change-Id: I4eb3ff7c76e0b8e4d8fe0298f739b0284d74a031
    Reviewed-on: https://go-review.googlesource.com/130855
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
  2. runtime: fix build, rename a since-renamed hasprefix to hasPrefix

    bradfitz committed Aug 22, 2018
    I merged CL 115835 without testing it after a rebase. My bad.
    
    Change-Id: I0acc6ed78ea7d718ac2df11d509cfcf4364dfaee
    Reviewed-on: https://go-review.googlesource.com/130815
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: Martin Möhrmann <moehrmann@google.com>
Commits on Aug 21, 2018
  1. net: lazily look up the listenerBacklog value on first use

    bradfitz committed Aug 2, 2018
    Don't open files or do sysctls in init.
    
    Updates #26775
    
    Change-Id: I017bed6c24ef1e4bc30040120349fb779f203225
    Reviewed-on: https://go-review.googlesource.com/127655
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  2. cmd/go: run mkalldocs.sh after earlier revert

    bradfitz committed Aug 21, 2018
    Change-Id: Ie4ed8b3e7d26ae53b2290a7a6e7d9888eb963edc
    Reviewed-on: https://go-review.googlesource.com/130318
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  3. net/http: add test showing that ReverseProxy HTTP/2 bidi streaming works

    bradfitz committed Jul 31, 2018
    Change-Id: I8361ae33c785e45e3ccc7e9bc2732c887eeb41c4
    Reviewed-on: https://go-review.googlesource.com/127015
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Matt Layher <mdlayher@gmail.com>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  4. go/doc: compile regexps lazily

    bradfitz committed Aug 3, 2018
    Compile go/doc's 4 regexps lazily, on demand.
    
    Also, add a test for the one that had no test coverage.
    
    This reduces init-time CPU as well as heap by ~20KB when they're not
    used, which seems to be common enough. As an example, cmd/doc only
    seems to use 1 of them. (as noted by temporary print statements)
    
    Updates #26775
    
    Change-Id: I85df89b836327a53fb8e1ace3f92480374270368
    Reviewed-on: https://go-review.googlesource.com/127875
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>
  5. strings: select Replacer algorithm and build machine lazily

    bradfitz committed Aug 2, 2018
    Saves 22KB of memory in stdlib packages.
    
    Updates #26775
    
    Change-Id: Ia19fe7aff61f6e2ddd83cd35969d7ff94526591f
    Reviewed-on: https://go-review.googlesource.com/127661
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@golang.org>