This patch fixes the problem when a client closes the connection before sending all of
the data in a POST. Someone with CVS privileges please check this in.
Thanks,
Brian
--- 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