Skip to content

Commit

Permalink
Port fix for #597 #603 #615 #586 #625
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Sep 18, 2012
1 parent 58a30d5 commit f7e73a2
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,13 @@ public final static AtmosphereRequest cloneRequest(HttpServletRequest request, b
b.request(r);
}

Cookie[] cs = request.getCookies();
Set<Cookie> hs = new HashSet();
for (Cookie c: cs) {
hs.add(c);
}
b.cookies(hs);

return isWrapped ? AtmosphereRequest.class.cast(request) : b.build();
}

Expand Down Expand Up @@ -1611,4 +1618,4 @@ public String toString() {

}
}
}
}

0 comments on commit f7e73a2

Please sign in to comment.