[jetty-user] 404 Not Found for any request while STARTING
Dmitry Lisay <[email protected]>
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Hello. If there's a request during startup phase Jetty always answers with 404 Not Found regardless of handlers set. The server handles connections whlie it's still STARTING (in HttpConnection.handleRequest() it calls isRunning() ) but later in HandlerWrapper.handle() there's a check for isStarted() which leads to ignoring any defined handlers and resulsts in default 404. There's no way to intercept that 404 error response. Is it an indended behaviour or a bug? Jetty version: 6.1.25