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 Fri, 18 Jul 2008 09:25:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45405


rahul <rahul@sun.com> changed:

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




--- Comment #5 from rahul <rahul@sun.com>  2008-07-18 02:25:30 PST ---
Created an attachment (id=22278)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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: 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