forked from quic-go/quic-go
add mock close method to h2quic.Server
This commit is contained in:
@@ -142,6 +142,11 @@ func (s *Server) handleRequest(session streamCreator, headerStream utils.Stream,
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Server) Close() error {
|
||||||
|
// TODO: implement
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// ListenAndServeQUIC listens on the UDP network address addr and calls the
|
// ListenAndServeQUIC listens on the UDP network address addr and calls the
|
||||||
// handler for HTTP/2 requests on incoming conections. http.DefaultServeMux is
|
// handler for HTTP/2 requests on incoming conections. http.DefaultServeMux is
|
||||||
// used when handler is nil.
|
// used when handler is nil.
|
||||||
|
|||||||
Reference in New Issue
Block a user