apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Phillips <r...@trolocsis.com>
Subject Re: HTTP doesn't work after upgrading from 2.0.55 to 2.2.15
Date Fri, 04 Jun 2010 05:06:29 GMT
On Wed, Jun 2, 2010 at 4:28 AM, Chen Chien-Yu <honercek@gmail.com> 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

Mime
View raw message