- 11 May, 2007 8 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1411 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1410 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1409 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1408 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1407 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1406 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Ingvar Hagelund authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@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@1403 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 09 May, 2007 12 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@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@1398 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1397 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@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@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@1394 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1393 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1392 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1391 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
The definition of "server.ip" is what getsockname(2) returns for our end of the connection. Don't report ACL matches for acls created as a result of '==' or '!=' usage on IP number variables. Move storage for sess->sockaddr away from sessmem and expose more code to <sys/socket.h>. This is a network application after all. XXX: somebody with IPv6 connectivity needs to look at ACLs in IPv6 context. git-svn-id: http://www.varnish-cache.org/svn/trunk@1390 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
It works by building a one-entry ACL of the subsequent tokens and matching this ACL just like '~' would have done. This means that it is possible to use the '!', '(...)', '/width' constructs and domain-names in these comparisons. Examples: if (client.ip == ( "www.freebsd.org" )) { if (client.ip == (! "localhost" )) { if (client.ip == (! "10.0.0.0"/8 )) { or even if (client.ip != "somehost" / 28) { git-svn-id: http://www.varnish-cache.org/svn/trunk@1389 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
(It is my intent that the compiled-to C-source should have sensible readability) git-svn-id: http://www.varnish-cache.org/svn/trunk@1388 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 06 May, 2007 1 commit
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1387 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 05 May, 2007 4 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1386 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1385 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1384 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1383 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 04 May, 2007 2 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1382 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1381 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 03 May, 2007 4 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1380 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1379 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1378 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1377 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 May, 2007 3 commits
-
-
Dag Erling Smørgrav authored
caused the Varnish child to die immediately after sending its 503 response if the backend didn't respond. Reviewed by: phk git-svn-id: http://www.varnish-cache.org/svn/trunk@1376 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1375 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
while the F_INVCL flag is set, we need to insert a newline before the entry for the new VCL_call. git-svn-id: http://www.varnish-cache.org/svn/trunk@1374 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 01 May, 2007 4 commits
-
-
Dag Erling Smørgrav authored
which the parent pings the child. Also document pipe_timeout, which was left out of the man page by accident. git-svn-id: http://www.varnish-cache.org/svn/trunk@1373 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
- change the type of vsl_handler()'s tag argument from unsigned int to enum shmlogtag to allow gcc to check switch statements and gdb to show its value by name rather than by number. - fix the "missing newline after VCL_call" bug in varnishlog (#95) git-svn-id: http://www.varnish-cache.org/svn/trunk@1372 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1371 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1370 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 26 Apr, 2007 2 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@1369 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Submitted by: Pierre Queinnec <pierre.queinnec@zenika.com> git-svn-id: http://www.varnish-cache.org/svn/trunk@1368 d4fa192b-c00b-0410-8231-f00ffab90ce4
-