Skip to content

Commit

Permalink
Set server on WebApplicationContext (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed May 9, 2024
1 parent 2a0edb6 commit b675621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/winstone/HostConfiguration.java
Expand Up @@ -182,6 +182,7 @@ public void postConfigure() throws Exception {
getSessionHandler().getSessionCache().setEvictionPolicy(sessionEviction);
}
};
wac.setServer(server);
JettyWebSocketServletContainerInitializer.configure(wac, null);
wac.getSecurityHandler().setLoginService(loginService);
wac.setThrowUnavailableOnStartupException(
Expand Down

0 comments on commit b675621

Please sign in to comment.