pforemski/dingo

HTTP/2 support

Closed this issue · 2 comments

Go supports H/2 natively, but only if we don't touch the defaults, which isn't the case: dingo spoofs the SNI string in TLS handshakes, which is why Go selects the HTTP/1.1 transport instead of HTTP/2.

voidd commented

golang/go#16581 (comment)
I think it would be good idea to enable HTTP/2 by default. With importing golang.org/x/net/http2 as external dependency.
#19

Thanks, implemented in 91bb369