- 18 Dec, 2014 15 commits
-
-
Adam Langley authored
SSLv3 (the old minimum) is still supported and can be enabled via the tls.Config, but this change increases the default minimum version to TLS 1.0. This is now common practice in light of the POODLE[1] attack against SSLv3's CBC padding format. [1] https://www.imperialviolet.org/2014/10/14/poodle.html Fixes #9364. Change-Id: Ibae6666ee038ceee0cb18c339c393155928c6510 Reviewed-on: https://go-review.googlesource.com/1791Reviewed-by: Minux Ma <minux@golang.org>
-
Ben Burkert authored
Fix TLS_FALLBACK_SCSV check when comparing the client version to the default max version. This enables the TLS_FALLBACK_SCSV check by default in servers that do not explicitly set a max version in the tls config. Change-Id: I5a51f9da6d71b79bc6c2ba45032be51d0f704b5e Reviewed-on: https://go-review.googlesource.com/1776Reviewed-by: Adam Langley <agl@golang.org>
-
Josh Bleecher Snyder authored
This test was added in CL 151000043. It got lost in CL 144630044. Change-Id: I318ab11be8e3e7489fc1395457c029c8bdb2aa41 Reviewed-on: https://go-review.googlesource.com/1773Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Ian Lance Taylor authored
Change-Id: I513665626ec0866f32036c26207dc234c17acea1 Reviewed-on: https://go-review.googlesource.com/1540Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
-
Jan Mercl authored
Change-Id: I7ef01a738b6ca49af1c148146d439c81b0a33b16 Reviewed-on: https://go-review.googlesource.com/1785Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Emil Hessman authored
Fix style by removing unnecessary named result parameter. Fix doc comment while here. Change-Id: If8394e696ab37e00a95484d5137955aa06c59520 Reviewed-on: https://go-review.googlesource.com/1781Reviewed-by: Yasuhiro MATSUMOTO <mattn.jp@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Austin Clements authored
On ppc64, liblink rewrites MOVD's of >32-bit constants by putting the constant in memory and rewriting the MOVD to load from that memory address. However, there were two bugs in the condition: a) owing to an incorrect sign extension, it triggered for all negative constants, and b) it could trigger for constant offsets from registers (addresses of the form $n(Rm) in assembly) Together, these meant instructions of the form MOVD $-n(Rm), x were compiled by putting -n in memory and rewriting the MOVD to load this constant from memory (completely dropping Rm). Change-Id: I1f6cc980efa3e3d6f164b46c985b2c3b55971cca Reviewed-on: https://go-review.googlesource.com/1752Reviewed-by: Minux Ma <minux@golang.org>
-
Daniel Morsing authored
People are probably not making this mistake anymore. Fixes #9164 Change-Id: I86b440ed63d09b4ca676bba7034838860f1a5d8b Reviewed-on: https://go-review.googlesource.com/1782Reviewed-by: Minux Ma <minux@golang.org>
-
David du Colombier authored
warning: src/cmd/gc/bits.c:101 non-interruptable temporary Change-Id: I74661fefab50455b912b8085d913fc45ba13c5c8 Reviewed-on: https://go-review.googlesource.com/1780Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Shenghou Ma authored
Change-Id: I7b9601ae6e1cfb18ef79a7b189aa7e689c0fe942 Reviewed-on: https://go-review.googlesource.com/1621Reviewed-by: Andrew Gerrand <adg@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Shenghou Ma authored
Change-Id: I9eac8b23eb9e6b6940069811177365b4772c2fb1 Reviewed-on: https://go-review.googlesource.com/1513Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Ian Lance Taylor authored
Gccgo incorrectly executed functions multiple times when they appeared in a composite literal that required a conversion between different interface types. Change-Id: I7b40e76ed23fa8440ffa03b262041265c109adf7 Reviewed-on: https://go-review.googlesource.com/1710Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
-
Andrew Gerrand authored
Change-Id: Ib31fb1f8239d8113728bc4c6e411416721571341 Reviewed-on: https://go-review.googlesource.com/1743Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Andrew Gerrand authored
Change-Id: I794a5773ed47d470ff91fcdd82f9747a91424eb4 Reviewed-on: https://go-review.googlesource.com/1402Reviewed-by: Rob Pike <r@golang.org>
-
Andrew Gerrand authored
Change-Id: I63d5c81fdaf9aca2fc3da3defcc6e9c4094c690b Reviewed-on: https://go-review.googlesource.com/1742Reviewed-by: Andrew Gerrand <adg@golang.org>
-
- 17 Dec, 2014 2 commits
-
-
Kato Kazuyoshi authored
open(2) and mkdir(2) won't set the sticky bit on *BSD and Solaris. This behavior is mentioned on sticky(8). see also: https://github.com/dotcloud/docker/pull/6587 Fixes #8383. Change-Id: Ic4733700f9926b9fc2b6fd1f998acec34e518764 Reviewed-on: https://go-review.googlesource.com/1673Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Ian Lance Taylor authored
Gccgo failed to create the type descriptor for the type used to allocate the nil value passed to append as the second argument when append is called with only one argument. Calling append with only one argument is unusual but obviously should not cause a compiler crash. Change-Id: I530821847dfd68f0302de6ca6a84dfbc79653935 Reviewed-on: https://go-review.googlesource.com/1692Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 16 Dec, 2014 9 commits
-
-
Rick Hudson authored
Change-Id: Ia7a007444eeb1503cec27367a5c6699ce0bf4af6 Reviewed-on: https://go-review.googlesource.com/1441Reviewed-by: Austin Clements <austin@google.com>
-
Brad Fitzpatrick authored
Change-Id: Ia24e9f0da1622cededa17b2c54ff9e4bb80cf946 Reviewed-on: https://go-review.googlesource.com/1633Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
-
Keith Randall authored
It shouldn't semacquire() inside an acquirem(), the runtime thinks that means deadlock. It actually isn't a deadlock, but it looks like it because acquirem() does m.locks++. Candidate for inclusion in 1.4.1. runtime.Stack with all=true is pretty unuseable in GOMAXPROCS>1 environment. fixes #9321 Change-Id: Iac6b664217d24763b9878c20e49229a1ecffc805 Reviewed-on: https://go-review.googlesource.com/1600Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
-
Brad Fitzpatrick authored
I broke the build in https://golang.org/change/207950a when I made http.Transport send "Connection: close" request headers when DisableKeepAlives was set true because I didn't run all the tests before submitting. httputil.DumpRequestOut used Transport to get its output, and used it with DisableKeepAlives, so this changed the output. Rather than updating golden data in our tests (because surely others depend on the exact bytes from these in their tests), switch to not using DisableKeepAlives in DumpRequestOut instead, so the output is the same as before. Change-Id: I9fad190be8032e55872e6947802055a6d65244df Reviewed-on: https://go-review.googlesource.com/1632Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Brad Fitzpatrick authored
No bug was open, but I found an old email to myself to investigate when I suspected this was happening. Change-Id: Icedefec6f15a000eaabb2693b0640b3b6c8bf82c Reviewed-on: https://go-review.googlesource.com/1578Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Brad Fitzpatrick authored
Fixes #9339 Change-Id: I22faf2593cb73f42612c2c2bfe38de001fb2746b Reviewed-on: https://go-review.googlesource.com/1630Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Brad Fitzpatrick authored
Fixes #9205 Change-Id: Iacd608ba43332008984aa8ece17dcb5757f27b3f Reviewed-on: https://go-review.googlesource.com/1611Reviewed-by: Ian Lance Taylor <iant@golang.org>
-
Andrew Gerrand authored
Related to issue #9228 Change-Id: I0819e657f6393788754d1412f9c2126a170d4cf1 Reviewed-on: https://go-review.googlesource.com/1577Reviewed-by: Rob Pike <r@golang.org>
-
Brad Fitzpatrick authored
Actually fixing this "bug" would be weird, since io.LimitReader already does what we need, as demonstrated by net/http's use. Thanks to @davidfstr for pointing this out. Change-Id: If707bcc698d1666a369b39ddfa9770685fbe3879 Reviewed-on: https://go-review.googlesource.com/1579Reviewed-by: Rob Pike <r@golang.org>
-
- 15 Dec, 2014 4 commits
-
-
Keith Randall authored
Most types are reflexive (k == k for all k of type t), so don't bother calling equal(k, k) when the key type is reflexive. Change-Id: Ia716b4198b8b298687843b94b878dbc5e8fc2c65 Reviewed-on: https://go-review.googlesource.com/1480Reviewed-by: Russ Cox <rsc@golang.org>
-
David Crawshaw authored
Fixes #9311 Change-Id: I2f142e65a54c0391084316d79a42714ba42dd8b9 Reviewed-on: https://go-review.googlesource.com/1514Reviewed-by: Keith Randall <khr@golang.org>
-
Rob Pike authored
Remove carriage returns from //go:generate lines. Carriage returns are the predecessor of BOMs and still live on Windows. Fixes #9264 Change-Id: I637748c74335c696b3630f52f2100061153fcdb4 Reviewed-on: https://go-review.googlesource.com/1564Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Andrew Gerrand authored
Fixes #9308 Change-Id: I0121adbbecc893eb93afc3321ecff97ea146d150 Reviewed-on: https://go-review.googlesource.com/1560Reviewed-by: Andrew Gerrand <adg@golang.org>
-
- 14 Dec, 2014 3 commits
-
-
Andrew Gerrand authored
Change-Id: I2ae40e63bc78f3b6e4eb68ccbc928368db1e606f Reviewed-on: https://go-review.googlesource.com/1535Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Kang Hu authored
Change-Id: I5cc4740a858c40d820eeb7c00cf0508b20807c90 Reviewed-on: https://go-review.googlesource.com/1533Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Andrew Gerrand authored
Fixes #9284 Change-Id: I0410a9ed82b861686a0a986c9ca4eeeacac8f296 Reviewed-on: https://go-review.googlesource.com/1534Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 13 Dec, 2014 4 commits
-
-
Brad Fitzpatrick authored
Change-Id: I46bf9f1b84a331cabce2d3417b2b59ccb83d00fa Reviewed-on: https://go-review.googlesource.com/1532Reviewed-by: David Symonds <dsymonds@golang.org>
-
Brad Fitzpatrick authored
Fixes #5645 Change-Id: Ifb46d6faf7ac838792920f6fe00912947478e761 Reviewed-on: https://go-review.googlesource.com/1531Reviewed-by: David Symonds <dsymonds@golang.org>
-
Brad Fitzpatrick authored
Fixes #9104 Change-Id: Ide5ac70215d73278e6910f5b9c7687ad7734c0be Reviewed-on: https://go-review.googlesource.com/1530Reviewed-by: David Symonds <dsymonds@golang.org>
-
Russ Cox authored
People keep pasting all.bash output into GitHub bugs, which turns the # lines into <h1> headlines. Add some more #s so that the bug reports are more readable. Not ideal but seems like the best of a few bad options. Change-Id: I4c69930ec304b2d504d7cd66221281a8577b87ae Reviewed-on: https://go-review.googlesource.com/1286Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
-
- 12 Dec, 2014 3 commits
-
-
Brad Fitzpatrick authored
Fixes #9281 Change-Id: Id060e9cbad086c994ec74b240f5c61e971e5690b Reviewed-on: https://go-review.googlesource.com/1490Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Russ Cox authored
//go:nowritebarrier can only be used in package runtime. It does not disable write barriers; it is an assertion, checked by the compiler, that the following function needs no write barriers. Change-Id: Id7978b779b66dc1feea39ee6bda9fd4d80280b7c Reviewed-on: https://go-review.googlesource.com/1224Reviewed-by: Rick Hudson <rlh@golang.org>
-
Shenghou Ma authored
Change-Id: I5f021b131f5650217bd14dec09cfb81fb0447b9e Reviewed-on: https://go-review.googlesource.com/1422Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-