httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Bursa" <>
Subject [users@httpd] Detecting connection abort
Date Fri, 06 Jun 2003 07:16:56 GMT

I am using a Windows version of Apache 2.0.45 with my custom module which is handling sepecial
requests. Each request takes several seconds to process (up to 10) and consumes a lot of CPU
time. Therefore I would appreciate the ability  to detect that a user has pressed the STOP
button (aborted connection), so that I can stop the processing of current request.

I have found a flags1 field in the conn_rec structure with the aborted bit, but this is not
set after the connection is dropped.

So I want to ask someone for help. Is it possible to detect aborted connection while processing
the request? If so, how?

Thank you for any help.
Michal Bursa

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message