You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by rhiren <Hi...@SAP.com> on 2008/07/23 20:51:15 UTC
Kill or Stop Http Request Processing
Hi,
How to stop or kill a request processing on the server side, once the
client decides to abort the request. For Ex. in our web app, user can send a
request to load a document. While document is being loaded we show users a
processing dialog which has a cancel button. Sometimes document loading can
take a very long time because we do some processing on the document content
before returning it. Meanwhile user might decide to cancel this request by
clicking on the Cancel button. How can I stop the processing of that request
on the server, so that it does not spend any more time on the document
content processing and frees up the CPU and memory.
Thanks,
Hiren
--
View this message in context: http://www.nabble.com/Kill-or-Stop-Http-Request-Processing-tp18617780p18617780.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.
Re: Kill or Stop Http Request Processing
Posted by rhiren <Hi...@SAP.com>.
Thank you for your reply. Can you please provide a bit more detail on how
to use r->aborted ?
Regards,
Hiren
Akins, Brian wrote:
>
> On 7/23/08 2:51 PM, "rhiren" <Hi...@SAP.com> wrote:
>> How can I stop the processing of that request
>> on the server, so that it does not spend any more time on the document
>> content processing and frees up the CPU and memory.
>
> Check r->aborted
>
> --
> Brian Akins
> Chief Operations Engineer
> Turner Digital Media Technologies
>
>
>
--
View this message in context: http://www.nabble.com/Kill-or-Stop-Http-Request-Processing-tp18617780p18619857.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.
Re: Kill or Stop Http Request Processing
Posted by "Akins, Brian" <Br...@turner.com>.
On 7/23/08 2:51 PM, "rhiren" <Hi...@SAP.com> wrote:
> How can I stop the processing of that request
> on the server, so that it does not spend any more time on the document
> content processing and frees up the CPU and memory.
Check r->aborted
--
Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies