mgrpc: address error on accept

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2017-11-15 17:02:44 -08:00
parent 52978c11e8
commit 1bfe6fb8f6
No known key found for this signature in database
GPG Key ID: 67B3DED84EDC823F

View File

@ -38,6 +38,7 @@ func (s *Server) Serve(l net.Listener) error {
conn, err := l.Accept()
if err != nil {
log.L.WithError(err).Error("failed accept")
continue
}
go s.handleConn(conn)