From: Alex Rousskov Date: Thu, 11 Nov 2010 15:46:07 +0000 (-0700) Subject: Added missing status phrase to some 304 (Not Modified) replies. X-Git-Tag: take1~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62fb4c4f57c25af4c5cda9d314254341a1b43f3b;p=thirdparty%2Fsquid.git Added missing status phrase to some 304 (Not Modified) replies. The bug affected 304 hits, at least. --- diff --git a/src/HttpReply.cc b/src/HttpReply.cc index 41b6058f94..7e039a8260 100644 --- a/src/HttpReply.cc +++ b/src/HttpReply.cc @@ -186,7 +186,7 @@ HttpReply::make304() const /* rv->content_range */ /* rv->keep_alive */ HttpVersion ver(1,1); - 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])))