cmd/routed: ensure quic is working
This commit is contained in:
parent
2b00b9432c
commit
86c54a384a
|
@ -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("", ""))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue