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 45405] Allow binding port to be set for individual workers for proxy requests
Date Wed, 23 Jul 2008 06:40:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45405


rahul <rahul@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22296|0                           |1
        is obsolete|                            |




--- Comment #12 from rahul <rahul@sun.com>  2008-07-22 23:40:24 PST ---
Created an attachment (id=22300)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22300)
updated patch

1)  Bind_to_addr() "const int range = bind->range + 1;":  
-agreed

2)  Bind_to_addr() "bind->idx = idx + i + 1;":  Technically incorrect.
-agreed

3) proxy_bind_addr", We could pass the address to the structure 
- done

One caveat is that if the range defined is lesser than the number of workers
available, apache will start to return 404 after the range is exhausted. This
is because the workers keep the backend connection open even after the
connection completes. This causes a newly requested worker to not get a free
port. (If the number of workers is lower than range, one of the workers
currently holding the open connection will be used for the connection)

How ever, I dont see a way to check this during configuration time. (the number
of workers may be modified after the proxy bind directives are run.)


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