Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Timeouts -- how to implement ???

From: <dgaudet-list-modproxy-dev(at)arctic.org>
Date: Fri Mar 30 2001 - 12:49:06 EST


On Fri, 30 Mar 2001, Ian Holsman wrote:

> imagine the situration where I have a mainly static page.. (say a news
> story) and I wan't to grab a fresh stock quote from another web server.
> I want to use the r-proxy to do this, and also have the ability to show
> the rest of the page if the quote server doesn't respond in 30ms.
>
> I dont think the r-proxy can support this at the moment, and would like
> to implement it... I was after a pointer as to how to do this.
> (ie... you'll need to modify the bucket read function)

with the caveat that i haven't looked at the 2.0 code in many months, what you want is already supported. it's not a parameter to the i/o functions, it's an option you set on the underlying APR socket. now what that API actually looks like today (after the buckets and filters were added), i dunno. look for a setopt function.

-dean Received on Fri Mar 30 17:49:19 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library