cmd/routed: ensure quic is working

This commit is contained in:
Cadey Ratio 2018-01-03 10:53:26 -08:00
parent 2b00b9432c
commit 86c54a384a
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ func setupQuic(s *Server, scfg Config) {
} }
for { for {
qs.ListenAndServeTLS("", "") ln.FatalErr(context.Background(), qs.ListenAndServeTLS("", ""))
} }
} }
@ -102,6 +102,6 @@ func setupTLS(s *Server, scfg Config) {
} }
for { for {
hs.ListenAndServeTLS("", "") ln.FatalErr(context.Background(), hs.ListenAndServeTLS("", ""))
} }
} }