On Tue, 9 Mar 2004, Jim Jagielski wrote:
                                                                                       
                                     > There are a few open patches floating about, 
but in general I think
> we're close to a point where we should seriously consider 1.3.30.
> I volunteer to be RM... I'd like to shoot for mid-late next
> week for a release.
>
> Comments?

I'd like to see this patch in 1.3.30:

+++ src/main/http_protocol.c   2004-02-27 20:54:48.000000000 -0800
@@ -1001,7 +976,7 @@
      */
     ap_bsetflag(conn->client, B_SAFEREAD, 1);
     while ((len = ap_getline(l, sizeof(l), conn->client, 0)) <= 0) {
-        if ((len < 0) || ap_bgetflag(conn->client, B_EOF)) {
+        if ((len < 0) || ap_bgetflag(conn->client, B_EOF) || !conn->keepalives) {
             ap_bsetflag(conn->client, B_SAFEREAD, 0);
            /* this is a hack to make sure that request time is set,
             * it's not perfect, but it's better than nothing

The logic here was only meant to be in effect for pipelined requests. This
patch makes sure it is only applied when we actually have a pipelined
request and it isn't the first request in a series.

-Rasmus

Reply via email to