tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51429] New: User disconnection is not noticed by AsyncListener
Date Fri, 24 Jun 2011 18:01:08 GMT
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


Mime
View raw message