We found a problem where mod_jk/ajp12 spins in an infinite loop on NT when the client 
does not provide all of "content-length" bytes worth of data in a post.  Please add 
this patch to the source.

Thanks,

Brian Vetter
[EMAIL PROTECTED]

> --- jk_ajp12_worker.c.orig    Tue Oct 24 09:44:46 2000
> +++ jk_ajp12_worker.c Tue Oct 24 09:52:31 2000
> @@ -465,6 +465,11 @@
>                      return JK_FALSE;
>                  }
>                  jk_log(l, JK_LOG_DEBUG, "ajpv12_handle_request, sent %d bytes\n", 
>this_time);
> +            } else if (this_time == 0) {
> +             jk_log(l, JK_LOG_ERROR,
> +                     "In ajpv12_handle_request, Error: short read. content length 
>is %d, read %d\n",
> +                     s->content_length, so_far);
> +             return JK_FALSE;
>              }
>          }
>      }

S/MIME Cryptographic Signature

Reply via email to