paulrutter commented on code in PR #310:
URL: https://github.com/apache/felix-dev/pull/310#discussion_r1584368518
##########
http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java:
##########
@@ -253,9 +253,12 @@ private void initializeJetty() throws Exception
loginService.setUserStore(new UserStore());
this.server.addBean(loginService);
- ServletContextHandler context = new
ServletContextHandler(this.config.getContextPath(),
+ ServletContextHandler context = new
ServletContextHandler(this.config.getContextPath(),
ServletContextHandler.SESSIONS);
+ // To support WebSockets via
https://github.com/apache/felix-dev/pull/310
+ context.setCrossContextDispatchSupported(true);
Review Comment:
@enapps-enorman i fixed it like this, what do you think?
https://github.com/apache/felix-dev/pull/310/commits/38b99d7b799a3712374d5f5b3608359bb3d57626
I will work on adapting the example code as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]