diff --git a/server.go b/server.go index 8c6719a..2ae8767 100644 --- a/server.go +++ b/server.go @@ -17,7 +17,7 @@ func (s *Server) listen() { for s.running { conn, err := s.listener.Accept() if err != nil { - panic(err) + break } buf := make([]byte, 512) // Ignore any content