Skip to content

Commit

Permalink
#2157 use the original session by default when cloning a request
Browse files Browse the repository at this point in the history
  • Loading branch information
elakito committed May 9, 2016
1 parent cfc9ea0 commit 0dbb924
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ public final static AtmosphereRequest cloneRequest(HttpServletRequest request, b
b.request(request);
}

HttpSession session = null;
HttpSession session = request.getSession(false);
if (copySession) {
session = request.getSession(createSession);
if (session != null) {
Expand Down

0 comments on commit 0dbb924

Please sign in to comment.