diff --git a/websocket/jetty12/src/main/java/jenkins/websocket/Jetty12Provider.java b/websocket/jetty12/src/main/java/jenkins/websocket/Jetty12Provider.java index 5ccd20adb4a27..48513fe737a6a 100644 --- a/websocket/jetty12/src/main/java/jenkins/websocket/Jetty12Provider.java +++ b/websocket/jetty12/src/main/java/jenkins/websocket/Jetty12Provider.java @@ -74,7 +74,7 @@ private void init(HttpServletRequest req) { public Handler handle(HttpServletRequest req, HttpServletResponse rsp, Listener listener) throws Exception { init(req); req.setAttribute(ATTR_LISTENER, listener); - // TODO Jetty 10 has no obvious equivalent to WebSocketServerFactory.isUpgradeRequest; RFC6455Negotiation? + // TODO Jetty 12 has no obvious equivalent to WebSocketServerFactory.isUpgradeRequest; RFC6455Negotiation? if (!"websocket".equalsIgnoreCase(req.getHeader("Upgrade"))) { rsp.sendError(HttpServletResponse.SC_BAD_REQUEST, "only WS connections accepted here"); return null;