httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Problem with ap_proxy_retry_worker
Date Thu, 11 Feb 2010 17:24:02 GMT
Hi,

While doing a load test and killing (-9) backend server it appears that
ap_proxy_retry_worker() marks workers for retry and it shouldn't.

I think it is because we have everywhere:
+++
               worker->s->status |= PROXY_WORKER_IN_ERROR;
               worker->s->error_time = apr_time_now();
+++
And we should have:
+++
               worker->s->error_time = apr_time_now();
               worker->s->status |= PROXY_WORKER_IN_ERROR;
+++
so ap_proxy_retry_worker will retry correctly.

Comments?

Cheers

Jean-Frederic

Mime
View raw message