- 16 May, 2007 11 commits
-
-
Dag Erling Smørgrav authored
- bind to all interfaces - use a 1 gibibyte - remove hash setting, it's not safe - tweak some variable names and comments git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1438 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1437 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1434 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1432 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
* Move user-adjustable parts from init script to defaults file, expect $DAEMON_OPTS instead of a whole forest of variables. * We have a pid file argument, wheee. :D Defaults file: * Created alternative default templates, selected a one-backend default without VCL file. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1431 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
Register etc/zope-plone.vcl as an example configuration file Typo patrol git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1430 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1429 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
fix upgrade issue in postrm script, and rename it to <package>.postrm to match other debian control files git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1428 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Stig Sandbeck Mathisen authored
Added example vcl to use in front of zope+plone (this could perhaps go in a contrib/ directory instead) git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1427 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1426 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1425 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 15 May, 2007 4 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1424 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
- Introduce a "struct tcp_addr" which is a lightweight form of struct addrinfo for our own internal use. - Add a TCP_resolve() function which takes the output from TCP_parse() and fills in a list of pointers to struct tcp_addr, one for each address returned by getaddrinfo(). - Modify all TCP_open() callers to use TCP_resolve() and call TCP_open() once for every address returned. - Add some explanatory comments to tcp.c. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1423 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1421 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1420 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 14 May, 2007 2 commits
-
-
Dag Erling Smørgrav authored
svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache ........ r1394 | phk | 2007-05-09 12:55:33 +0200 (Wed, 09 May 2007) | 8 lines After compilation of a VCL program, do a test-load into the management process to catch any implementation-discrepancies between symbols used by the compiler and those implemented in the runtime. The situation will happen from time to time and there is no need to issue a panic when we can test sensibly for it. ........ r1403 | ingvar | 2007-05-11 09:51:11 +0200 (Fri, 11 May 2007) | 5 lines * Fri May 11 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070511 - Threw latest changes into svn trunk - Removed the conversion of manpages into utf8. They are all utf8 in trunk ........ r1404 | ingvar | 2007-05-11 10:13:03 +0200 (Fri, 11 May 2007) | 1 line ........ r1406 | des | 2007-05-11 13:06:03 +0200 (Fri, 11 May 2007) | 2 lines Comment out comparisons which are always true (unsigned >= 0) ........ r1407 | des | 2007-05-11 13:06:38 +0200 (Fri, 11 May 2007) | 2 lines Tweak DEVELOPER_CFLAGS. ........ r1408 | des | 2007-05-11 13:14:32 +0200 (Fri, 11 May 2007) | 2 lines Pull flopen() and pidfile_*() (renamed to vpf_*()) from FreeBSD. ........ r1409 | des | 2007-05-11 13:15:46 +0200 (Fri, 11 May 2007) | 2 lines Expand tags. ........ r1410 | des | 2007-05-11 13:17:09 +0200 (Fri, 11 May 2007) | 2 lines No use expanding tags unless there *are* tags... ........ r1411 | des | 2007-05-11 13:34:42 +0200 (Fri, 11 May 2007) | 2 lines Add -D (daemonize) and -P (pid file) options. ........ r1412 | des | 2007-05-11 13:35:59 +0200 (Fri, 11 May 2007) | 2 lines Remove unused header. ........ r1413 | des | 2007-05-11 14:01:47 +0200 (Fri, 11 May 2007) | 2 lines Avoid gcc4-specific compiler options. ........ r1414 | des | 2007-05-11 14:05:02 +0200 (Fri, 11 May 2007) | 2 lines Forgotten commit: check for <vis.h> and daemon(3) availability. ........ r1415 | des | 2007-05-11 14:17:26 +0200 (Fri, 11 May 2007) | 2 lines Add -P (pid file) option. ........ r1416 | des | 2007-05-11 14:19:48 +0200 (Fri, 11 May 2007) | 2 lines Minor style issues. ........ r1417 | phk | 2007-05-11 15:15:16 +0200 (Fri, 11 May 2007) | 7 lines Make the sendfile threshold inifinity for now, we have evidence of sendfile not doing it's job in a number of operating system (-versions ?) This change is unlikely to cause a performance hit anywhere, because writev() is pretty effective in the first place. ........ r1418 | des | 2007-05-14 11:02:23 +0200 (Mon, 14 May 2007) | 2 lines Document the inadvisability of enabling sendfile. ........ git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1419 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1418 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 11 May, 2007 14 commits
-
-
Poul-Henning Kamp authored
sendfile not doing it's job in a number of operating system (-versions ?) This change is unlikely to cause a performance hit anywhere, because writev() is pretty effective in the first place. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1417 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1416 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1415 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1414 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1413 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1412 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1411 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1410 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1409 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1408 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1407 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1406 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Ingvar Hagelund authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1404 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Ingvar Hagelund authored
- Threw latest changes into svn trunk - Removed the conversion of manpages into utf8. They are all utf8 in trunk git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1403 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 09 May, 2007 9 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1399 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
The vcl_hash() is now used to control which fields go into the hash algorithm, and the default is stil, as previously, the URL + Host: header. But now it is controlled by the vcl code, with the default vcl_hash() being: sub vcl_hash { req.hash += req.url; req.hash += req.http.host; hash; } Once I get a bit further, this will be changed to sub vcl_hash { req.hash += req.url; if (req.http.host) { req.hash += req.http.host; } else { req.hash += server.ip; } hash; } So that we correctly hash HTTP requests without Host: headers, that go to a machine with multiple IP numbers. If you want to add fields to the hash, just write a vcl_hash that does not end in "hash;": sub vcl_hash { req.hash += req.http.cookie; } If you want to override the default vcl_hash, just say so: sub vcl_hash { req.hash += req.url; hash; // do not continue into default vcl_hash } git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1398 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1397 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1396 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
and create a function to figure this out, if present. Add the req.hash variable and the += operator for it, so we can put the actual hash contents under vcl control. The runtime half of this stuff is not done yet. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1395 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
process to catch any implementation-discrepancies between symbols used by the compiler and those implemented in the runtime. The situation will happen from time to time and there is no need to issue a panic when we can test sensibly for it. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1394 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1393 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1392 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1391 d4fa192b-c00b-0410-8231-f00ffab90ce4
-