Re: millisecond timeouts in mod_proxy mod_proxy_http

2011-01-17 Thread Neal Richter
How can I help clean it up? Are there other places where we can add ms timing support? The custom error-documents and status have been great for restful services where we wanted zero proxy errors returned to the client. Thanks - Neal On 1/15/11, Daniel Ruggeri drugg...@primary.net wrote: On

millisecond timeouts in mod_proxy mod_proxy_http

2011-01-14 Thread Neal Richter
(yes really). Hat tip to Ronald Park who paved the way for this with similar work in httpd 2.0.x patches. Thanks - Neal Richter

mod_proxy_http, ProxyTimeout and apr_socket_timeout_set

2010-07-20 Thread Neal Richter
Hi all, Basic question on the ProxyTimeout for mod_proxy_http. Is it: - first byte? - last byte? My guess is that it's a first byte timeout based upon this: /** * Setup socket timeout for the specified socket * @param sock The socket to set up. * @param t Value for the timeout.

Re: mod_proxy_http, ProxyTimeout and apr_socket_timeout_set

2010-07-20 Thread Neal Richter
, 2010 at 9:16 PM, Jeff Trawick traw...@gmail.com wrote: On Wed, Jul 21, 2010 at 2:41 AM, Neal Richter nrich...@gmail.com wrote: Hi all,  Basic question on the ProxyTimeout for mod_proxy_http.   Is it:    - first byte?    - last byte? any byte (i.e., any time proxy attempts I/O, the request

Re: Hacking in an SLA for proxied requests in mod_proxy_http

2009-07-15 Thread Neal Richter
Brian Akins wrote: Is the proxy-timeout for the entire request to be returned, the first byte, or just an i/o timeout? To set a 900ms timeout the code does approximately this: apr_interval_time_t new_timeout = apr_time_make(0, 900 * (APR_USEC_PER_SEC/1000));

Hacking in an SLA for proxied requests in mod_proxy_http

2009-07-14 Thread Neal Richter
.. no issues thus far. I'd like some feedback if I'm resetting the timeout back to the previous one on the socket correctly and if there is a better way to do this in the code. I essentially used Ronald's code plus some stuff from mod_asis. Thanks - Neal Richter