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 Fri, 18 Jul 2008 09:25:31 GMT

rahul <> changed:

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

--- Comment #5 from rahul <>  2008-07-18 02:25:30 PST ---
Created an attachment (id=22278)
 --> (
Updated patch correcting the mistakes :)

>"apr_pcalloc(p, sizeof(proxy_bind_addr))"
>Do we know that this will never return NULL (i.e. "out of memory")?
-The pool will call abort_fn (system abort set in main.c unless overridden)
before returning null. This and the fact that we are allocating memory during
configuration reading phase (i.e the pool is from conf rather than a custom
pool) assures us that apache will exit rather than give us null for this pool.

>Allocated memory is zeroed. 
-apr_pcalloc is just defined as apr_palloc + memset in apr_pools.h

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