-Norman Tuttle, OpenDemand Systems Developer, [EMAIL PROTECTED]
The conditions of lack of success for apr_socket_create() should include
a case where memory wasn't available to allocate for the creation of the
APR socket structure, but I did not see evidence of this in either the
Win32 or Unix versions of the APR library. Both functions call a void
function alloc_socket() which does the allocation and then immediately
sets members of the allocated socket, so they are obviously assuming the
allocation occurred. Unfortunately, real software cannot be so sure. I
was wondering if (1) the APR provided alternate functions which check
for this failure case, and (2) how many APR functions are doing memory
checking?
- [patch 0.9] apr_socket_atmark() proposed for b... William A. Rowe, Jr.
- Re: [patch 0.9] apr_socket_atmark() propo... Jeff Trawick
- Re: [patch 0.9] apr_socket_atmark() p... William A. Rowe, Jr.
- [patch] proc_mutex_flock_child_in... Norman Tuttle
- [patch] proc_mutex_flock_chil... Gregory (Grisha) Trubetskoy
- Re: [patch] proc_mutex_f... Jeff Trawick
- Re: Question regarding approa... William A. Rowe, Jr.
- Re: [patch 0.9] apr_socket_atmark() propo... Jim Jagielski
