httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48841] mod_proxy: Allow loadfactor of 0.
Date Wed, 25 May 2011 19:58:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48841

--- Comment #3 from Daniel Ruggeri <DRuggeri@primary.net> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message