tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51429] New: User disconnection is not noticed by AsyncListener
Date Fri, 24 Jun 2011 18:01:08 GMT

             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
    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() { .... });


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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message