<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.5rc1</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.5rc1</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.5rc1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2015-08-06T04:06:12Z</updated>
<entry>
<title>[release-branch.go1.5] cmd/newlink: remove from release branch</title>
<updated>2015-08-06T04:06:12Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2015-08-06T03:45:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0d20a61e68ba22fb416fe2aa8b6532026822bad0'/>
<id>urn:sha1:0d20a61e68ba22fb416fe2aa8b6532026822bad0</id>
<content type='text'>
Change-Id: Iad86bde6f2e0482745a4000ec4e192ade352983b
Reviewed-on: https://go-review.googlesource.com/13292
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Andrew Gerrand &lt;adg@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.5] go1.5rc1</title>
<updated>2015-08-06T03:32:40Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2015-08-06T03:30:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e7f6a244a2a1c9a597a96356476484157c3c19f8'/>
<id>urn:sha1:e7f6a244a2a1c9a597a96356476484157c3c19f8</id>
<content type='text'>
Change-Id: Ibf98802b45cd22f20f8f3605bb695e9744b7a6b2
Reviewed-on: https://go-review.googlesource.com/13290
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>net/url: allow all valid host chars in RawPath</title>
<updated>2015-08-06T02:59:16Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2015-08-06T02:12:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fced03a5c6dd22dd486106e3dd116510c28c6e4a'/>
<id>urn:sha1:fced03a5c6dd22dd486106e3dd116510c28c6e4a</id>
<content type='text'>
The old code was only allowing the chars we choose not to escape.
We sometimes prefer to escape chars that do not strictly need it.
Allowing those to be used in RawPath lets people override that
preference, which is in fact the whole point of RawPath (new in Go 1.5).

While we are here, also allow [ ] in RawPath.
This is not strictly spec-compliant, but it is what modern browers
do and what at least some people expect, and the [ ] do not cause
any ambiguity (the usual reason they would be escaped, as they are
part of the RFC gen-delims class).
The argument for allowing them now instead of waiting until Go 1.6
is that this way RawPath has one fixed meaning at the time it is
introduced, that we should not need to change or expand.

Fixes #5684.

Change-Id: If9c82a18f522d7ee1d10310a22821ada9286ee5c
Reviewed-on: https://go-review.googlesource.com/13258
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
</content>
</entry>
<entry>
<title>net/url: do not percent-encode valid host characters</title>
<updated>2015-08-06T02:55:37Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2015-08-06T01:45:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e8be9a170c3044d7460a6b2c8349a723b1a21dd2'/>
<id>urn:sha1:e8be9a170c3044d7460a6b2c8349a723b1a21dd2</id>
<content type='text'>
The code in question was added as part of allowing zone identifiers
in IPv6 literals like http://[ipv6%zone]:port/foo, in golang.org/cl/2431.

The old condition makes no sense. It refers to §3.2.1, which is the wrong section
of the RFC, it excludes all the sub-delims, which §3.2.2 (the right section)
makes clear are valid, and it allows ':', which is not actually valid,
without an explanation as to why (because we keep :port in the Host field
of the URL struct).

The new condition allows all the sub-delims, as specified in RFC 3986,
plus the additional characters [ ] : seen in IP address literals and :port suffixes,
which we also keep in the Host field.

This allows mysql://a,b,c/path to continue to parse, as it did in Go 1.4 and earlier.

This CL does not break any existing tests, suggesting the over-conservative
behavior was not intended and perhaps not realized.

It is especially important not to over-escape the host field, because
Go does not unescape the host field during parsing: it rejects any
host field containing % characters.

Fixes #12036.

Change-Id: Iccbe4985957b3dc58b6dfb5dcb5b63a51a6feefb
Reviewed-on: https://go-review.googlesource.com/13254
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Reviewed-by: Mikio Hara &lt;mikioh.mikioh@gmail.com&gt;
</content>
</entry>
<entry>
<title>doc/go1.5.html: fix typo</title>
<updated>2015-08-06T02:55:27Z</updated>
<author>
<name>Mikio Hara</name>
<email>mikioh.mikioh@gmail.com</email>
</author>
<published>2015-08-06T02:18:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=91e3b3516837372fac630698b1efc06e60909f4d'/>
<id>urn:sha1:91e3b3516837372fac630698b1efc06e60909f4d</id>
<content type='text'>
Change-Id: Ic61fd38e7d2e0821c6adcaa210199a7dae8849a7
Reviewed-on: https://go-review.googlesource.com/13281
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
</content>
</entry>
<entry>
<title>net/url: restrict :port checking to [ipv6]:port form</title>
<updated>2015-08-06T02:55:03Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2015-08-06T01:22:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fc22331ccd015cfdbae73abe72cb6f3e8e2415b9'/>
<id>urn:sha1:fc22331ccd015cfdbae73abe72cb6f3e8e2415b9</id>
<content type='text'>
Go 1.4 and earlier accepted mysql://x@y(z:123)/foo
and I don't see any compelling reason to break that.

The CL during Go 1.5 that broke this syntax was
trying to fix #11208 and was probably too aggressive.
I added a test case for #11208 to make sure that stays
fixed.

Relaxing the check did not re-break #11208 nor did
it cause any existing test to fail. I added a test for the
mysql://x@y(z:123)/foo syntax being preserved.

Fixes #12023.

Change-Id: I659d39f18c85111697732ad24b757169d69284fc
Reviewed-on: https://go-review.googlesource.com/13253
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Reviewed-by: Mikio Hara &lt;mikioh.mikioh@gmail.com&gt;
</content>
</entry>
<entry>
<title>A+C: add Andy Maloney</title>
<updated>2015-08-05T23:16:22Z</updated>
<author>
<name>Andrew Gerrand</name>
<email>adg@golang.org</email>
</author>
<published>2015-08-05T22:59:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e38c801ad15aa1e6a23aa7c7862e81d4634a5066'/>
<id>urn:sha1:e38c801ad15aa1e6a23aa7c7862e81d4634a5066</id>
<content type='text'>
Fixes #10639

Change-Id: I0aa3bcbf656e23e6a110041439f6052057074b88
Reviewed-on: https://go-review.googlesource.com/13270
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/go: fix handling of vendored imports in foo_test.go files</title>
<updated>2015-08-05T23:13:19Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2015-08-05T16:09:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0fb87abddfea7576555e2a2bdd088e02640ca5da'/>
<id>urn:sha1:0fb87abddfea7576555e2a2bdd088e02640ca5da</id>
<content type='text'>
Fixes #11977.
Fixes #11988.

Change-Id: I9f80006946d3752ee6d644ee51f2decfeaca1ff6
Reviewed-on: https://go-review.googlesource.com/13230
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>spec: clarify semantics of built-in functions 'complex', 'real', and 'imag'</title>
<updated>2015-08-05T21:09:49Z</updated>
<author>
<name>Robert Griesemer</name>
<email>gri@golang.org</email>
</author>
<published>2015-07-29T22:42:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=98aa82287f7a06b2c12884b062c87bc3c18b66ca'/>
<id>urn:sha1:98aa82287f7a06b2c12884b062c87bc3c18b66ca</id>
<content type='text'>
For #11669, #11540, #11945, #11946, #11947.

Change-Id: Ifb0053c498cee9f3473c396f9338d82bd856c110
Reviewed-on: https://go-review.googlesource.com/12860
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>crypto/tls: fix ConnectionState().VerifiedChains for resumed connection</title>
<updated>2015-08-05T19:59:28Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2015-08-05T13:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=46a29138827cefb15e437f291cbb2ccda685b840'/>
<id>urn:sha1:46a29138827cefb15e437f291cbb2ccda685b840</id>
<content type='text'>
Strengthening VerifyHostname exposed the fact that for resumed
connections, ConnectionState().VerifiedChains was not being saved
and restored during the ClientSessionCache operations.
Do that.

This change just saves the verified chains in the client's session
cache. It does not re-verify the certificates when resuming a
connection.

There are arguments both ways about this: we want fast, light-weight
resumption connections (thus suggesting that we shouldn't verify) but
it could also be a little surprising that, if the verification config
is changed, that would be ignored if the same session cache is used.

On the server side we do re-verify client-auth certificates, but the
situation is a little different there. The client session cache is an
object in memory that's reset each time the process restarts. But the
server's session cache is a conceptual object, held by the clients, so
can persist across server restarts. Thus the chance of a change in
verification config being surprisingly ignored is much higher in the
server case.

Fixes #12024.

Change-Id: I3081029623322ce3d9f4f3819659fdd9a381db16
Reviewed-on: https://go-review.googlesource.com/13164
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Adam Langley &lt;agl@golang.org&gt;
</content>
</entry>
</feed>
