JSR-356 if mapping not found, allow default behavior

This commit is contained in:
Joakim Erdfelt 2013-08-01 07:47:02 -07:00
parent 589b03d64c
commit 441c98544a
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class WebSocketUpgradeFilter extends ContainerLifeCycle implements Filter
{
LOG.debug("WebSocket Upgrade on {} has no associated endpoint",target);
// no match.
httpresp.sendError(HttpServletResponse.SC_NOT_FOUND,"No websocket endpoint matching path: " + target);
chain.doFilter(request,response);
return;
}
LOG.debug("WebSocket Upgrade detected on {} for endpoint {}",target,resource);