Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
dosen't seem to be a h2 bug, remove proto map
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Jul 15, 2021
1 parent cbe12e0 commit 6893aff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package server

import (
"compress/gzip"
"crypto/tls"
"fmt"
stdlog "log"
"net"
Expand Down Expand Up @@ -252,10 +251,6 @@ func (s *Server) Run(version string) error {
//handler stack
Handler: h,
}
if isTLS {
//disable http2 due to velox bug
server.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
}

//serve!
var listener net.Listener
Expand Down

0 comments on commit 6893aff

Please sign in to comment.