httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajalakshmi Iyer <...@blismedia.com>
Subject Setting response timeout
Date Mon, 25 Jun 2012 12:42:38 GMT
Hello,

I am working on an Apache module where the response times for each request
are very stringent. I want to be able to return a custom error deck in case
I am not able to process the request within the threshold instead of a
timeout response. I have added a check in the request handler code to check
if a threshold time has elapsed and return a custom error in that case.
However it appears that this code is not invoked at all for most requests.


>From what I see in Apache code, the request / response is actually
synchronous. So the next request is not read in until the response for the
first one is sent out.

So, if a previous request takes a longer time, the response times for
subsequent requests is affected.

Any guidelines on how to handle this would be greatly appreciated.

Thanks,
Raj

-- 
*Twitter: @Blismedia <http://twitter.com/#%21/blismobile>
BlisMedia 
32 Percy Street,
London W1T 2DE
www.blismedia.com <http://www.blismobile.com/>**
*** <http://www.blismobile.com/>*
****[image: Follow on Twitter]* <http://twitter.com/#%21/blismobile>*[image: 
Blis Website]* <http://www.blismobile.com/>

*This communication is from Blis Media Ltd, a company registered in England 
and Wales with registered number 06455773. Its registered office is 32 
Percy Street, London W1T 2DE, United Kingdom.*

* *

*This communication contains information that is confidential and may also 
be privileged. It is for the exclusive use of the intended recipient(s). If 
you are not the intended recipient(s), please (1) notify info@blismedia.com<info@blismobile.com>
by 
forwarding this email and delete all copies from your system and (2) note 
that disclosure, distribution, copying or use of this communication is 
strictly prohibited. Email communications cannot be guaranteed to be secure 
or free from error or viruses. All emails sent to or from a Blismobile 
email account are securely archived and stored by an external supplier. This 
email does not constitute a contractual agreement; such agreements are in 
specified contractual or Insertion Order (IO) form only 
and exclusively contain all the terms to which Blis Mobile Ltd will be 
bound. To the extent permitted by law, Blis Mobile Ltd does not accept any 
liability for use of or reliance on the contents of this email by any 
person save by the intended recipient(s) to the extent agreed in a contract 
or Insertion Order.*

* *

*Opinions, conclusions and other information in this email which have not 
been delivered by way of the business of Breeze Tech (UK) Ltd are neither 
given nor endorsed by it.*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message