Revision: 14662
Author: adrian.chadd
Date: Sun May 16 00:08:02 2010
Log: Issue #108 - remove old code.


http://code.google.com/p/lusca-cache/source/detail?r=14662

Modified:
 /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c

=======================================
--- /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c      Sun May 16 00:06:22 2010
+++ /branches/LUSCA_HEAD/libhttp/HttpHeaderParse.c      Sun May 16 00:08:02 2010
@@ -89,6 +89,11 @@
  * do that! It should signify the caller that the old header value should
  * be removed!
  */
+/*
+ * -1: invalid header, return error
+ * 0: invalid header, don't add, continue
+ * 1: valid header, add
+ */
 int
 hh_check_content_length(HttpHeader *hdr, const char *var, int vlen)
 {
@@ -140,20 +145,6 @@
                return 0;
            }
 }
-
-/*
- * -1: invalid header, return error
- * 0: invalid header, don't add, continue
- * 1: valid header, add
- */
-static int
-httpHeaderParseCheckEntry(HttpHeader *hdr, int id, String *name, String *value)
-{
-       if (id == HDR_CONTENT_LENGTH) {
-               return(hh_check_content_length(hdr, strBuf2(*value), 
strLen2(*value)));
-       }
-       return 1;
-}

 int
httpHeaderParse(HttpHeader * hdr, const char *header_start, const char *header_end)

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to