Re: 1.2.beta23-4.patches

From: <Taiji.Can@dont-contact.us>
Date: Tue, 11 Aug 1998 13:29:07 +0900 (JST)

> | - * $Id: client_side.c,v 1.371 1998/07/31 00:15:38 wessels Exp $
> | + * $Id: client_side.c,v 1.372 1998/07/31 14:48:13 wessels Exp $
> | *
>
> I don't think a comment is tooo important when it fails on a patch (unless
> future patches look for that comment string).
>
> Why don't you just copy

  no,no. this patch has not only HEADER part.
  this patch has the other line,too. and it's differnet my client_side.c
  line count.

  Patche all line:

Index: src/client_side.c
===================================================================
RCS file: /surf1/CVS/squid/src/client_side.c,v
retrieving revision 1.371
retrieving revision 1.372
diff -w -u -r1.371 -r1.372
--- client_side.c 1998/07/31 00:15:38 1.371
+++ client_side.c 1998/07/31 14:48:13 1.372
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.c,v 1.371 1998/07/31 00:15:38 wessels Exp $
+ * $Id: client_side.c,v 1.372 1998/07/31 14:48:13 wessels Exp $
  *
  * DEBUG: section 33 Client-side Routines
  * AUTHOR: Duane Wessels
@@ -1378,9 +1378,14 @@
            body_size = 0;
            http->flags.done_copying = 1;
        } else {
- /* unparseable reply, stop and end-of-headers */
- body_size = headersEnd(buf, size);
- if (body_size)
+ /*
+ * If we are here, then store_status == STORE_OK and it
+ * seems we have a HEAD repsponse which is missing the
+ * empty end-of-headers line (home.mira.net, phttpd/0.99.72
+ * does this). Because clientBuildReply() fails we just
+ * call this reply a body, set the done_copying flag and
+ * continue...
+ */
                http->flags.done_copying = 1;
        }
     }

                                        ADVANTEST corp.
                                        Taiji.Can@atesoft.advantest.co.jp
Received on Mon Aug 10 1998 - 21:37:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:28 MST