diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2015-12-01 19:19:55 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-12-02 02:03:19 +0000 |
| commit | 9bad99574ad90f877ee4d8aa36ca503f4167fab6 (patch) | |
| tree | 8115a74b01b766fa5a0809aa038ca579e910da9d /src/database/sql/sql_test.go | |
| parent | 3b3f422afed632a7d332e03444a908abc170d402 (diff) | |
| download | go-9bad99574ad90f877ee4d8aa36ca503f4167fab6.tar.xz | |
net/http: enable HTTP/2 on all Transports, not just the DefaultTransport
This mirrors the same behavior and API from the server code to the
client side: if TLSNextProto is nil, HTTP/2 is on by default for
both. If it's non-nil, the user was trying to do something fancy and
step out of their way.
Updates #6891
Change-Id: Ia31808b71f336a8d5b44b985591d72113429e1d4
Reviewed-on: https://go-review.googlesource.com/17300
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
