Open GoogleCodeExporter opened 9 years ago
Oops missed this bug.
ServletRequest.setAttribute(String, Object) is used more for passing state
through
the request dispatcher which is not what your doing here. I'll take a look at
your
AtmosphereAsyncServlet and see if there is a better way of doing what you want.
Perhaps by adding another field to the CometServletResponseImpl.
Original comment by rich...@zschech.net
on 28 Mar 2010 at 10:57
Didn't seem to get notified of your comment...
Indeed the request attributes is a good place for this (this is what I do using
Atmosphere) but you remove the request in the CometServletResponse before the
suspend
happens, so I cannot refer to the request anymore later on.
I think it is safe to leave the request on CometServletResponse, because this
is what
Servlet3.0 does and Atmosphere also does this. The request remains valid until
the
connection is closed.
Original comment by PierreHa...@gmail.com
on 1 Apr 2010 at 9:28
Original issue reported on code.google.com by
PierreHa...@gmail.com
on 18 Mar 2010 at 2:35