]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Alex Rousskov <rousskov@measurement-factory.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 05:06:52 +0000 (22:06 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 20 Dec 2010 05:06:52 +0000 (22:06 -0700)
Added missing status phrase to some 304 (Not Modified) replies.

The bug affected 304 hits, at least.

src/HttpReply.cc

index 5dd4eb748fa20cf6f3201ae5f1a7aae987eee39b..7856a1d1fa135fb330d22d2413294068b47af165 100644 (file)
@@ -186,7 +186,7 @@ HttpReply::make304() const
     /* rv->content_range */
     /* rv->keep_alive */
     HttpVersion ver(1,0);
-    httpStatusLineSet(&rv->sline, ver, HTTP_NOT_MODIFIED, "");
+    httpStatusLineSet(&rv->sline, ver, HTTP_NOT_MODIFIED, NULL);
 
     for (t = 0; ImsEntries[t] != HDR_OTHER; ++t)
         if ((e = header.findEntry(ImsEntries[t])))