httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <sor...@gmail.com>
Subject Re: "Close" HTTP connection callback/hook
Date Tue, 16 Oct 2012 18:04:07 GMT
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


Mime
View raw message