On 2012-10-16 15:50, Evgeny Shvidky wrote:
Hi,

I am implementing a new module on C.
I need to perform some functionality when a user closes a HTTP connection 
before he received any response for his request.
How can I know when a HTTP user request state has been changed/closed?
Is there any callback/hook for this functionality I can register?

As far as I know, there is no callback for this functionality.

You can check r->connection->aborted or the APR_ECONNABORTED return code of ap_pass_brigade when you attempt to write to the client.


Sorin

Reply via email to