]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
squidclient: use Cache-Control instead of Pragma
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 17 Feb 2011 14:45:24 +0000 (03:45 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 17 Feb 2011 14:45:24 +0000 (03:45 +1300)
tools/squidclient.cc

index 16a8d6794c65b6afd1f3dacd04fad4d4835f1ef5..fa4d14159cea6c3a2a461fdfa1dc84bff80b1466 100644 (file)
@@ -450,7 +450,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) {