Pass TLS config instead of QUIC
This commit is contained in:
parent
aa7b426306
commit
10187307da
|
@ -138,7 +138,7 @@ func (server *Server) Serve() {
|
|||
ReadTimeout: 5 * time.Second,
|
||||
IdleTimeout: 15 * time.Second,
|
||||
Addr: server.ListenAddress,
|
||||
TLSConfig: server.TLSConfig.QUICConfig,
|
||||
TLSConfig: server.TLSConfig.Config,
|
||||
Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
server.Handler(handler(w, r))
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue