httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

rahul <> changed:

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

--- Comment #12 from rahul <>  2008-07-22 23:40:24 PST ---
Created an attachment (id=22300)
 --> (
updated patch

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

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

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