]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
squidclient: use Cache-Control instead of Pragma
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2011 12:36:28 +0000 (06:36 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Mar 2011 12:36:28 +0000 (06:36 -0600)
tools/squidclient.cc

index 32af31ff8d2d868cb4817f1addd257f07fb2a294..4ba5ba5351556160f5b1a99ad493a2d8db672480 100644 (file)
@@ -399,7 +399,7 @@ main(int argc, char *argv[])
         }
 
         if (reload) {
-            snprintf(buf, BUFSIZ, "Pragma: no-cache\r\n");
+            snprintf(buf, BUFSIZ, "Cache-Control: no-cache\r\n");
             strcat(msg, buf);
         }
         if (put_fd > 0) {