You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/24 20:01:08 UTC
DO NOT REPLY [Bug 51429] New: User disconnection is not noticed by
AsyncListener
https://issues.apache.org/bugzilla/show_bug.cgi?id=51429
Bug #: 51429
Summary: User disconnection is not noticed by AsyncListener
Product: Tomcat 7
Version: 7.0.16
Platform: PC
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: pheo@centrum.cz
Classification: Unclassified
Steps to reproduce:
1) Create Async servlet and deploy
@WebServlet("/foo" asyncSupported=true)
public class MyServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse res) {
...
AsyncContext ctx = request.startAsync(req, res);
ctx.addListener(new AsyncListener() { .... });
ctx.setTimeout(8*60*1000);
}
}
2) Call the servlet in a browser
3) Close the browser
Expected result:
Event should be fired (user is disconnected) in the listener
Current result:
No event is fired.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51429] User disconnection is not noticed by
AsyncListener
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51429
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
OS/Version| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-06-24 18:08:22 UTC ---
The Servlet 3.0 specification defines no such event nor requires it to be
fired.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org