Commit 9a58e5c0 authored by Jörg Richter's avatar Jörg Richter

New `dmx.websockets.url` default value (#384)

```
ws://localhost:8080/websocket
```

Note that websocket port is now 8080, the same as web server.
8081 is not in use anymore!
parent 9443a34d
Pipeline #10478 passed with stage
in 8 minutes and 22 seconds
......@@ -61,11 +61,10 @@ public class WebSocketServlet extends org.eclipse.jetty.websocket.WebSocketServl
}
private HttpSession session(HttpServletRequest request) {
logger.info("request=" + JavaUtils.requestDump(request));
// logger.info("request=" + JavaUtils.requestDump(request));
HttpSession session = request.getSession(false);
if (session == null) {
// FIXME
// throw new RuntimeException("No (valid) session associated with upgrade request");
throw new RuntimeException("No (valid) session associated with upgrade request");
}
return session;
}
......
......@@ -70,7 +70,7 @@
<org.apache.felix.https.keystore.key.password></org.apache.felix.https.keystore.key.password>
<!-- WebSockets -->
<dmx.websockets.port>8081</dmx.websockets.port>
<dmx.websockets.url>ws://localhost:8081</dmx.websockets.url>
<dmx.websockets.url>ws://localhost:8080/websocket</dmx.websockets.url>
<!-- Request Filter -->
<!-- IMPORTANT: in case of a (comma-separated) list no spaces are allowed between the items. -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment