Issue #2114 Backport to jetty-9.2

This commit is contained in:
Jan Bartel 2018-02-01 11:22:08 +01:00
parent 3de4de99d3
commit c46cb27d0c
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ public class JettyHttpServerProvider extends HttpServerProvider
}
JettyHttpServer jettyHttpServer = new JettyHttpServer(server, shared);
jettyHttpServer.bind(addr, backlog);
if (addr != null)
jettyHttpServer.bind(addr, backlog);
return jettyHttpServer;
}