-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
From David.Ostrovsky on May 20, 2014 01:39:14
Description of the issue: Cookies are lost in Ccontinued background thread in ontinuingHttpServletRequest.
The whole purpose of request scope propagation is to make a
snapshot of the request. To the snapshot belong all attributes
and cookies. Cookies are mutable and were erroneously not frozen.
Note this TODO comment in the corresponding code:
// TODO(dhanji): Cookies themselves are mutable. Is this a problem?
This breaks web session management in Gerrit Code review project.
Steps to reproduce: [1]
[1] https://gerrit-review.googlesource.com/57284
Attachment: gist
0001-Guice-Servlet-Fix-request-propagation-problem.patch
Original issue: http://code.google.com/p/google-guice/issues/detail?id=806