<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.7.3</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.7.3</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.7.3'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2016-10-19T17:04:39Z</updated>
<entry>
<title>[release-branch.go1.7] go1.7.3</title>
<updated>2016-10-19T17:04:39Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2016-10-19T00:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2f6557233c5a5c311547144c34b4045640ff9f71'/>
<id>urn:sha1:2f6557233c5a5c311547144c34b4045640ff9f71</id>
<content type='text'>
Change-Id: I906070c84c0f40c4dd8af8b5894895127834ee00
Reviewed-on: https://go-review.googlesource.com/31438
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] doc: document go1.7.3 and add note to go1.7.2 that it should not be used</title>
<updated>2016-10-19T17:04:17Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2016-10-19T00:32:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4de7b10483094a68a6d40c18a2e28ddcaf954365'/>
<id>urn:sha1:4de7b10483094a68a6d40c18a2e28ddcaf954365</id>
<content type='text'>
Change-Id: I3dd1513e927733ce5c63928da772cb81760ba869
Reviewed-on: https://go-review.googlesource.com/31442
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] net/http: update bundled http2</title>
<updated>2016-10-19T00:01:52Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2016-10-18T19:52:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3b6f4b04ba4da9e90e1f28dcd19c0eac78c57170'/>
<id>urn:sha1:3b6f4b04ba4da9e90e1f28dcd19c0eac78c57170</id>
<content type='text'>
Updates bundled http2 for x/net/http2 git rev d4c55e66 for:

[release-branch.go1.7] http2: never Read from Request.Body in Transport
to determine ContentLength
https://golang.org/cl/31361

Updates #17480
Updates #17071

Change-Id: I2231adaed3cb5b368927a9654dcf7e69a8b664b6
Reviewed-on: https://go-review.googlesource.com/31432
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] net/http: update test to check Content-Length 0 Body more reliably</title>
<updated>2016-10-18T23:50:01Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2016-10-18T21:42:09Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=740dfbadbd7e54e0340f43bf698f71007bee9f8b'/>
<id>urn:sha1:740dfbadbd7e54e0340f43bf698f71007bee9f8b</id>
<content type='text'>
The way to send an explicitly-zero Content-Length is to set a nil Body.

Fix this test to do that, rather than relying on type sniffing.

Updates #17480
Updates #17071

Change-Id: I6a38e20f17013c88ec4ea69d73c507e4ed886947
Reviewed-on: https://go-review.googlesource.com/31434
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31437
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] go1.7.2</title>
<updated>2016-10-17T21:08:12Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2016-10-17T20:43:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=edecc650ec95ac1a96d2312980e18d959f89835e'/>
<id>urn:sha1:edecc650ec95ac1a96d2312980e18d959f89835e</id>
<content type='text'>
Change-Id: I546e8b1aa4facdbf13bb80d386bf4839a3aff9d1
Reviewed-on: https://go-review.googlesource.com/31314
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] doc: document go1.7.2</title>
<updated>2016-10-17T20:41:45Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@golang.org</email>
</author>
<published>2016-10-17T20:34:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2e150a0aa73dbb1f3786edd94c399d197faaacc0'/>
<id>urn:sha1:2e150a0aa73dbb1f3786edd94c399d197faaacc0</id>
<content type='text'>
Change-Id: I34b3650ee9512879ff7528336813a7850c46ea90
Reviewed-on: https://go-review.googlesource.com/31311
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31313
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] crypto/{aes,cipher}: fix panic in CBC on s390x when src length is 0</title>
<updated>2016-10-17T20:25:13Z</updated>
<author>
<name>Michael Munday</name>
<email>munday@ca.ibm.com</email>
</author>
<published>2016-10-13T21:08:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f0377a2851f13eda1993fd92d3f55d23884bdb83'/>
<id>urn:sha1:f0377a2851f13eda1993fd92d3f55d23884bdb83</id>
<content type='text'>
Adds a test to check that block cipher modes accept a zero-length
input.

Fixes #17435.

Change-Id: Ie093c4cdff756b5c2dcb79342e167b3de5622389
Reviewed-on: https://go-review.googlesource.com/31070
Run-TryBot: Michael Munday &lt;munday@ca.ibm.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31291
Reviewed-by: Michael Munday &lt;munday@ca.ibm.com&gt;
Run-TryBot: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] cmd/compile: escape analysis needs to run "flood" to fixed point</title>
<updated>2016-10-17T20:25:07Z</updated>
<author>
<name>David Chase</name>
<email>drchase@google.com</email>
</author>
<published>2016-10-08T20:45:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2287d95e9b130821b61c34afb79d8541268acd9b'/>
<id>urn:sha1:2287d95e9b130821b61c34afb79d8541268acd9b</id>
<content type='text'>
In some cases the members of the root set from which flood
runs themselves escape, without their referents being also
tagged as escaping.  Fix this by reflooding from those roots
whose escape increases, and also enhance the "leak" test to
include reachability from a heap-escaped root.

Fixes #17318.

Change-Id: Ied1e75cee17ede8ca72a8b9302ce8201641ec593
Reviewed-on: https://go-review.googlesource.com/30693
Run-TryBot: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31290
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] runtime: sleep on CLOCK_MONOTONIC in futexsleep1 on freebsd</title>
<updated>2016-10-17T20:25:00Z</updated>
<author>
<name>Mike Appleby</name>
<email>mike@app.leby.org</email>
</author>
<published>2016-09-28T21:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a2f37b7fe130e1a5da78b605f4191547e9868944'/>
<id>urn:sha1:a2f37b7fe130e1a5da78b605f4191547e9868944</id>
<content type='text'>
In FreeBSD 10.0, the _umtx_op syscall was changed to allow sleeping on
any supported clock, but the default clock was switched from a monotonic
clock to CLOCK_REALTIME.

Prior to 10.0, the __umtx_op_wait* functions ignored the fourth argument
to _umtx_op (uaddr1), expected the fifth argument (uaddr2) to be a
struct timespec pointer, and used a monotonic clock (nanouptime(9)) for
timeout calculations.

Since 10.0, if callers want a clock other than CLOCK_REALTIME, they must
call _umtx_op with uaddr1 set to a value greater than sizeof(struct
timespec), and with uaddr2 as pointer to a struct _umtx_time, rather
than a timespec. Callers can set the _clockid field of the struct
_umtx_time to request the clock they want.

The relevant FreeBSD commit:
    https://svnweb.freebsd.org/base?view=revision&amp;revision=232144

Fixes #17168

Change-Id: I3dd7b32b683622b8d7b4a6a8f9eb56401bed6bdf
Reviewed-on: https://go-review.googlesource.com/30154
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31269
</content>
</entry>
<entry>
<title>[release-branch.go1.7] crypto/tls: fix deadlock when racing to complete handshake.</title>
<updated>2016-10-17T20:24:52Z</updated>
<author>
<name>Adam Langley</name>
<email>agl@golang.org</email>
</author>
<published>2016-09-14T18:50:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ca0b97e80a558d06274e68ece667b821901acc42'/>
<id>urn:sha1:ca0b97e80a558d06274e68ece667b821901acc42</id>
<content type='text'>
After renegotiation support was added (af125a5193c) it's possible for a
Write to block on a Read when racing to complete the handshake:
   1. The Write determines that a handshake is needed and tries to
      take the neccesary locks in the correct order.
   2. The Read also determines that a handshake is needed and wins
      the race to take the locks.
   3. The Read goroutine completes the handshake and wins a race
      to unlock and relock c.in, which it'll hold when waiting for
      more network data.

If the application-level protocol requires the Write to complete before
data can be read then the system as a whole will deadlock.

Unfortunately it doesn't appear possible to reverse the locking order of
c.in and handshakeMutex because we might read a renegotiation request at
any point and need to be able to do a handshake without unlocking.

So this change adds a sync.Cond that indicates that a goroutine has
committed to doing a handshake. Other interested goroutines can wait on
that Cond when needed.

The test for this isn't great. I was able to reproduce the deadlock with
it only when building with -race. (Because -race happened to alter the
timing just enough.)

Fixes #17101.

Change-Id: I4e8757f7b82a84e46c9963a977d089f0fb675495
Reviewed-on: https://go-review.googlesource.com/29164
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/31268
</content>
</entry>
</feed>
