On 16 Aug 2001 [EMAIL PROTECTED] wrote:

> rbb         01/08/16 00:13:07
>
>   Modified:    buckets  apr_brigade.c
>   Log:
>   If we ask to partition a brigade past the end of the brigade, that is
>   not an error condition.  At worst, that is a STATUS condition, that we
>   should report to the caller, namely, we didn't really partition this,
>   because there wasn't enough in the brigade to partition.  We should also
>   return a pointer to the SENTINEL bucket, so that we can split the
>   brigade successfully.
>
>   This fixes a seg fault in mod_ssl for Apache.
>
>   -    return APR_EINVAL;
>   +    *after_point = APR_BRIGADE_SENTINEL(b);
>   +    return APR_INCOMPLETE;

Hmmmmmm.... well, okay.  But now we're even further overloading
APR_INCOMPLETE.  I'm not sure that's what we want.  I'll have to think
about this some more.

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to