Skip to content

Commit

Permalink
Backport Fixes Atmosphere#1998
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand authored and Artur- committed Jan 3, 2016
1 parent b50b24f commit e0898ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ public void onWebSocketConnect(Session session) {
HttpServletRequest r = originalRequest(session);
if (r != null) {
// We close except the session which we can still reach.
request = AtmosphereRequest.cloneRequest(r, true, false, false, framework.getAtmosphereConfig().getInitParameter(PROPERTY_SESSION_CREATE, true));
request = AtmosphereRequest.cloneRequest(r, true, false, false);
} else {
// Bad Bad Bad
request = AtmosphereRequest.cloneRequest(r, true, true, false, framework.getAtmosphereConfig().getInitParameter(PROPERTY_SESSION_CREATE, true));
request = AtmosphereRequest.cloneRequest(r, true, true, false);
}
}

Expand Down

0 comments on commit e0898ad

Please sign in to comment.