diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-20 22:27:45 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-06-22 22:17:07 +0300 |
commit | 8b2b037fbbc178178fe5431cb08566c9ac1e85d0 (patch) | |
tree | ffcb5c6f0ddcd7a3e7381482b713a5b8c08e4eee /README.md | |
parent | afeb8a4cdc17289b83f5e7d77aebb9a0e62e2f58 (diff) |
Fix http2 flag and drop usage of x/net/http2
gitlab pages is using (*Server).Serve.
Go enable HTTP/2 by default if the user hasn't otherwise
configured their TLSNextProto map.
However this is only done if there's no TLSConfig (srv.TLSConfig
is null) or if the user specified a TLSConfig on their http.Server
and explicitly requested the 'h2' protocol.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions