]> Cypherpunks repositories - gostls13.git/commit
net/http: rename DialerAndTLSConfigSupportsHTTP2 to ForceAttemptHTTP2
authorKunpei Sakai <namusyaka@gmail.com>
Tue, 16 Apr 2019 16:19:54 +0000 (01:19 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Apr 2019 17:15:01 +0000 (17:15 +0000)
commit2a931bad4e4d7eabdb685b6dc74406373ad6e7e4
treeeccc71489d3ce86c2b3e0736dbef23bd5ba526ba
parent8285c85fe32147fb27d7aa5cfc41b8bd9d65fa0d
net/http: rename DialerAndTLSConfigSupportsHTTP2 to ForceAttemptHTTP2

Transport.DialerAndTLSConfigSupportsHTTP2 was added just earlier
in CL 130256 but we thought of a better name moments after submitting.
ForceAttemptHTTP2 is shorter, more direct, and doesn't constrain what
we can use it with in the future.

Updates #14391
Updates #27011

Change-Id: Ie5fc71bafcbcaa1941b5d49f748b6d710503d477
Reviewed-on: https://go-review.googlesource.com/c/go/+/172299
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport.go
src/net/http/transport_test.go