forked from quic-go/quic-go
fix typo *connections (#3309)
This commit is contained in:
@@ -486,7 +486,7 @@ func ListenAndServeQUIC(addr, certFile, keyFile string, handler http.Handler) er
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ListenAndServe listens on the given network address for both, TLS and QUIC
|
// ListenAndServe listens on the given network address for both, TLS and QUIC
|
||||||
// connetions in parallel. It returns if one of the two returns an error.
|
// connections in parallel. It returns if one of the two returns an error.
|
||||||
// http.DefaultServeMux is used when handler is nil.
|
// http.DefaultServeMux is used when handler is nil.
|
||||||
// The correct Alt-Svc headers for QUIC are set.
|
// The correct Alt-Svc headers for QUIC are set.
|
||||||
func ListenAndServe(addr, certFile, keyFile string, handler http.Handler) error {
|
func ListenAndServe(addr, certFile, keyFile string, handler http.Handler) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user