httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48841] mod_proxy: Allow loadfactor of 0.
Date Wed, 25 May 2011 19:58:13 GMT

--- Comment #3 from Daniel Ruggeri <> 2011-05-25 19:58:13 UTC ---
Patch notes and 'splaining:
I used a constant called PROXY_WORKER_NOLBFACTOR in mod_proxy.h and changed the
atoi call during configuration to strtol since the atoi call returns 0 both
during error situations and when the proper value to return is 0. Also, the
existing checks had to be refactored a little since (at least on the SUN c
compiler) an  uninitialized integer is the same as `0'. Aside from that, only
the bybusiness algorithm had to be modified to avoid a divide by zero error.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message