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 44806] Set the IP address+port used for backend proxy requests.
Date Tue, 03 Jun 2008 06:20:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44806





--- Comment #14 from rahul <rahul@sun.com>  2008-06-02 23:20:59 PST ---
(In reply to comment #12)
> Parser - afterthought:
> 
> ++   psf->bind_range = min( port ? MIN_RANGE : 1, r + 1 );
>  should be:
> ++   psf->bind_range = port ? min( MIN_RANGE, r + 1 ) : 1;
> 
> If port == 0, r == 0 also, so we don't have to evaluate "min(1,1)".
> 

the value r starts with '0' and does not change if port was not specified
so you dont need to check 'port? : xxxx : 1 , the value would be r+1 == 1


-- 
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