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

            Bug ID: 56642
           Summary: Socket timeout callback is always fired even after the
                    socket have woke.
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mpm_event
          Assignee: [email protected]
          Reporter: [email protected]

ap_mpm_register_socket_callback_timeout takes two callback funtions.

 * @param cbfn The callback function
 * @param tofn The callback function if the timeout expires

Current event MPM calls tofn in the timeout even if cbfn have been called.
Using mod_proxy_wstunnel Async mode and timeout is set, this can cause SEGV
because proxy_wstunnel_finish is called more than once for the same backend
connetion.

mod_proxy_wstunnel call ap_mpm_register_socket_callback_timeout with
proxy_wstunnel_finish as tofn when ProxyWebsocketAsync is On and
ProxyWebsocketIdleTimeout is set some number > 0.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to