]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Documentation updates
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Dec 2008 21:18:13 +0000 (10:18 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 26 Dec 2008 21:18:13 +0000 (10:18 +1300)
src/HttpHeaderTools.cc
src/http.cc

index fba64bfe5a3b737eb191c237f3395f07d4579cb4..aa7a7cf76cebd5df77ce05a2b208aaa41989749b 100644 (file)
@@ -141,7 +141,7 @@ httpHeaderPutStrvf(HttpHeader * hdr, http_hdr_type id, const char *fmt, va_list
 }
 
 
-/* wrapper arrounf PutContRange */
+/** wrapper arrounf PutContRange */
 void
 httpHeaderAddContRange(HttpHeader * hdr, HttpHdrRangeSpec spec, int64_t ent_len)
 {
@@ -153,7 +153,7 @@ httpHeaderAddContRange(HttpHeader * hdr, HttpHdrRangeSpec spec, int64_t ent_len)
 }
 
 
-/*
+/**
  * return true if a given directive is found in at least one of
  * the "connection" header-fields note: if HDR_PROXY_CONNECTION is
  * present we ignore HDR_CONNECTION.
index 76faf0852dc488c8cdcf7b113140dc76460798af..f07c03c8d933ac88694df81484f97b228af02d6f 100644 (file)
@@ -948,7 +948,8 @@ HttpStateData::persistentConnStatus() const
     if (eof) // already reached EOF
         return COMPLETE_NONPERSISTENT_MSG;
 
-    /* In chunked responce we do not know the content length but we are absolutelly
+    /** \par
+     * In chunked response we do not know the content length but we are absolutely
      * sure about the end of response, so we are calling the statusIfComplete to
      * decide if we can be persistant
      */
@@ -963,7 +964,8 @@ HttpStateData::persistentConnStatus() const
     if (clen < 0)
         return INCOMPLETE_MSG;
 
-    /* If the body size is known, we must wait until we've gotten all of it. */
+    /** \par
+     * If the body size is known, we must wait until we've gotten all of it. */
     if (clen > 0) {
         // old technique:
         // if (entry->mem_obj->endOffset() < vrep->content_length + vrep->hdr_sz)
@@ -975,7 +977,8 @@ HttpStateData::persistentConnStatus() const
             return INCOMPLETE_MSG;
     }
 
-    /* If there is no message body or we got it all, we can be persistent */
+    /** \par
+     * If there is no message body or we got it all, we can be persistent */
     return statusIfComplete();
 }