From ae778fc0429350e901cce1e94fa3cdc0cd3574ac Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Tue, 31 May 2016 14:13:03 +0200 Subject: [PATCH] add mock close method to h2quic.Server --- h2quic/server.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/h2quic/server.go b/h2quic/server.go index 9325633d..72f746c3 100644 --- a/h2quic/server.go +++ b/h2quic/server.go @@ -142,6 +142,11 @@ func (s *Server) handleRequest(session streamCreator, headerStream utils.Stream, return nil } +func (s *Server) Close() error { + // TODO: implement + return nil +} + // ListenAndServeQUIC listens on the UDP network address addr and calls the // handler for HTTP/2 requests on incoming conections. http.DefaultServeMux is // used when handler is nil.