https://issues.apache.org/bugzilla/show_bug.cgi?id=55688

--- Comment #1 from Vikram <vicky...@gmail.com> ---
Some more details, my sample servlet "get" code looks like this,

@Override
    protected void doGet(HttpServletRequest req, HttpServletResponse response)
            throws ServletException, IOException {
        req.setAttribute("org.apache.catalina.ASYNC_SUPPORTED", true);

        AsyncContext asyncContext = req.startAsync();
        asyncContext.setTimeout(10000);

        HttpServletResponse httpServletResponse =
(HttpServletResponse)asyncContext.getResponse();
        try {
            httpServletResponse.sendRedirect("http://www.google.com/";);
        } catch (IOException ex) {
            throw new RuntimeException(ex);
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to