- 22 Jul, 2006 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@557 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
add two sbufs for "init" and "fini" actions. VCL ACLs: Change syntax and implementation as follows. ACL Syntax now works the following way: acl $name { ! ( "myhost.com" ) ; "10.0.0.1" /8 ; } The '!' means not. If the address matches the rest of the rule the address does NOT match the acl and the search terminates here. Enclosing the string in paranthesis means that the rule will be ignored if the string cannot be converted to an address (with getaddrinfo). When a string can not be looked up, and is not enclosed in a paranthesis, a positive rule (ie: without !) will not match and a negative rule (with !) will match. A mask can always be supplied, no matter the style of the string given, so it is possible to do things like: { "fw.ourcompany.dom" / 24 } Which means "any host on the same /24 subnet as fw.ourcompany.dom". Unfortunately getaddrinfo() does not return a TTL for the results, in the future we may want to use some kind of timeout to refresh the lookups. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@556 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@555 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 21 Jul, 2006 23 commits
-
-
Poul-Henning Kamp authored
on 32 bit architectures to avoid running out of address room Make FlexeLint happy. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@554 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@553 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@552 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Log in shmem where the TTL came from (doc-candidate): 696613561 RFC 900 1153517009 1153517014 1153517914 900 0 | | | | | | | | | | | | | | | age | | | | | | max-age | | | | | Expires: header | | | | Date: header | | | "now" | | TTL relative to "now" | who set the TTL xid of object or 696613561 VCL 20 1153517009 | | | | | | | "now" | | TTL relative to "now" | who set the TTL xid of object git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@551 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Use macros for trivial objects which are just a field in a struct. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@550 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@549 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@548 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@547 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@546 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
VCL programs can manipulate. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@545 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Split some stuff into separate files while we're at it. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@544 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@543 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@542 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@541 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@540 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
By default, start at the last entry in shared memory. To dump the entire segment from the start, specify '-d' option. Terminate programs when '-r $file' reaches EOF git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@539 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@538 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@537 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@536 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Remove sbuf from workerthread, it is only used in the Error handling now and it will probably not even survive that in the long run. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@535 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@534 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
NB: Only pass mode (lightly) tested right now. Give up on the three element array per header and use a two element struct instead, it reduces obfuscation and removes risk of pointer fandango. Introduce #defined filtercontrol in http_headers.h, use them in a new field. Only Pass is there for now. Use the http-workspace for building headers instead of sbuf. Move uiovec handling to cache_pool.c where it more naturally belongs and so we can use it on both backends and sessions. Add http header munging functiosn for copying, printf'ing, filtering and writing headers. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@533 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
logical. Rename http_Init() to http_Setup() to avoid clash with HTTP_Init(). Remove unused variable git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@532 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 20 Jul, 2006 14 commits
-
-
Poul-Henning Kamp authored
Record a triplet of {start, data, end} for all HTTP data items. This represents a regrettable uglification of the sourcecode, but most of it compiles out to constants and the runtime benefits will be worth it. Generate H_FOO magic strings for all the headers we know about. These strings have a length as first char and always ends in ':'. Also genereate H_FOO format strings in VCL compiler. Mandate (with assert) that header references happen using H_FOO strings. Make number of allowed HTTP headers a compile time constant (32) but make the workspace a run-time variable (4096). Introduce new SHM tag for dumping aborted HTTP protocol requests. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@531 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@530 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@529 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@528 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
manages to hold the document referenced, the prefetcher may never get lucky with it and it will linger here much past last sell date. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@527 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@526 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@525 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@524 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@523 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Useful with commands like: varnishtop -i header -1 varnishtop -i srcaddr -1 where the variable part of the entry is less relevant. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@521 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@516 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@515 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@514 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@513 d4fa192b-c00b-0410-8231-f00ffab90ce4
-