On Wed, Jun 2, 2010 at 4:28 AM, Chen Chien-Yu <[email protected]> wrote:
> Hi all,
> I've tested the fix "Ryan Phillips" posted. It did work for my case.
> But I'm not sure if it's right or not..
>
> Index: sockopt.c
> ===================================================================
> --- sockopt.c (revision 532161)
> +++ sockopt.c (working copy)
> @@ -102,7 +102,7 @@
>      /* must disable the incomplete read support if we disable
>       * a timeout
>       */
> -    if (t <= 0) {
> +    if (t < 0) {
>          sock->options &= ~APR_INCOMPLETE_READ;
>      }
>      sock->timeout = t;

Make sure to run the apr unit tests on the target to double check
configure detected all the correct settings... I'm pretty sure that
was our problem. We don't apply the patch I posted anymore (although
it could still be correct).

Regards,
Ryan

Reply via email to