Fw: [PATCH] mod_proxy infinite cpu eating loop

2002-01-02 Thread Bill Stoddard
Message - From: Adam Sussman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 01, 2002 9:35 PM Subject: Re: [PATCH] mod_proxy infinite cpu eating loop Bill, Everything looks good except that ap_proxy_string_read() now segfaults on its apr_bucket_read(). It appears

Re: [PATCH] mod_proxy infinite cpu eating loop

2002-01-02 Thread Bill Stoddard
Can you identify where the seg fault is happening? I am really suspicious of why checking for length == 0 would avoid the segfault. As I mentioned in an earlier post, I suspect this check is masking another problem. Thanks, Bill Bill, Everything looks good except that

Re: Fw: [PATCH] mod_proxy infinite cpu eating loop

2002-01-02 Thread Justin Erenkrantz
On Wed, Jan 02, 2002 at 01:34:57PM -0500, Bill Stoddard wrote: I see this pattern several places in the code: rc = apr_get_brigade(); if (rc != APR_SUCCESS) { fail; } /* Is the brigade empty? */ if (APR_BRIGADE_EMPTY(b)) { fail; } /* Get first bucket */ e =

Re: Fw: [PATCH] mod_proxy infinite cpu eating loop

2002-01-02 Thread Ryan Bloom
On Wednesday 02 January 2002 10:34 am, Bill Stoddard wrote: I see this pattern several places in the code: rc = apr_get_brigade(); if (rc != APR_SUCCESS) { fail; } /* Is the brigade empty? */ if (APR_BRIGADE_EMPTY(b)) { fail; } /* Get first bucket */ e = APR_BRIGADE_FIRST(b);

Re: Fw: [PATCH] mod_proxy infinite cpu eating loop

2002-01-02 Thread Bill Stoddard
On Wednesday 02 January 2002 10:34 am, Bill Stoddard wrote: I see this pattern several places in the code: rc = apr_get_brigade(); if (rc != APR_SUCCESS) { fail; } /* Is the brigade empty? */ if (APR_BRIGADE_EMPTY(b)) { fail; } /* Get first bucket */ e =

Re: [PATCH] mod_proxy infinite cpu eating loop

2001-12-31 Thread Bill Stoddard
see an HTTP/1.10 */ - Original Message - From: Adam Sussman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 8:24 PM Subject: [PATCH] mod_proxy infinite cpu eating loop ap_proxy_string_read currently goes into an infinite loop when

Re: [PATCH] mod_proxy infinite cpu eating loop

2001-12-29 Thread Bill Stoddard
= strlen(buffer); - +#endif /* Is it an HTTP/1 response? * This is buggy if we ever see an HTTP/1.10 */ - Original Message - From: Adam Sussman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 8:24 PM Subject: [PATCH] mod_proxy infinite cpu

Re: [PATCH] mod_proxy infinite cpu eating loop

2001-12-29 Thread Adam Sussman
PROTECTED] Sent: Friday, December 28, 2001 8:24 PM Subject: [PATCH] mod_proxy infinite cpu eating loop ap_proxy_string_read currently goes into an infinite loop when the proxied server closes the connection without sending any data. This patch fixes the problem but I am not sure