- 20 Jul, 2008 5 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2973 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2972 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
buffer. Replace the default libvarnish assert handler with a child specific function. This function which fills the static panic string and copy the result to the shared memory panicstring. In the manager process, report the content of the panic string when the child dies. git-svn-id: http://www.varnish-cache.org/svn/trunk@2971 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2970 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2969 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 19 Jul, 2008 17 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2968 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
of the vsb_overflow() assert. Make this explicit for FlexeLint. git-svn-id: http://www.varnish-cache.org/svn/trunk@2967 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2966 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2965 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2964 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2963 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2962 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Better choice of data types. git-svn-id: http://www.varnish-cache.org/svn/trunk@2961 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Detect empty args. Handle 'b' suffix in switch. git-svn-id: http://www.varnish-cache.org/svn/trunk@2960 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2959 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2958 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2957 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2956 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
No functional changes. Add ARGV_ERR() macro for reporting argument trouble. Do selection of method in varnishd.c, using generic choice function. Split subarguments into argc+argv at commans, and pass those down to avoid repetitive and bogus string munging. Catch more error conditions with respect to subarguments. Add mini_obj magics to stevedores and slingers. Generally tidy up along the way. git-svn-id: http://www.varnish-cache.org/svn/trunk@2955 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2954 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
the microoptimization does not justify the manual handling of ->prev and ->next. git-svn-id: http://www.varnish-cache.org/svn/trunk@2953 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2952 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 18 Jul, 2008 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2951 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Petter Knudsen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2950 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Petter Knudsen authored
Added the parameter err_ttl, which sets the TTL for synthesized error pages. Default value is 0. Fixes #126. git-svn-id: http://www.varnish-cache.org/svn/trunk@2949 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 17 Jul, 2008 1 commit
-
-
Petter Knudsen authored
Added support for choosing what fields to show in varniststat. This is done by using the new -f option. To list avaialble fields, use the new -l option. Fixes #208. git-svn-id: http://www.varnish-cache.org/svn/trunk@2946 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 14 Jul, 2008 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2945 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2944 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Petter Knudsen authored
director batman round-robin { { .backend = b1; } { .backend = b2; } { .backend = b3; } } sub vcl_recv { set req.backend = batman; } The backend will then be chosen in a round robin fashion. git-svn-id: http://www.varnish-cache.org/svn/trunk@2943 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 11 Jul, 2008 9 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2942 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2941 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2940 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
prefix "VEV". This is a general purpose eventmanager and as such should live in the library where other programs can get at it. git-svn-id: http://www.varnish-cache.org/svn/trunk@2939 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Add a backend property ".host_header" to set default content of Host: header if client didn't provide one. If .host_header is not specified, it defaults to .host. Add testcase for this logic. (Incidental change: Use "interval" instead of "rate" for backend pollers.) git-svn-id: http://www.varnish-cache.org/svn/trunk@2938 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
It doesn't actually do anything yet. git-svn-id: http://www.varnish-cache.org/svn/trunk@2937 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
clear expression of intent in VCL. We now fail backend hostnames that resolve to multiple IPv4 or multiple IPv6 addresses, in other words, you cannot use "cnn.com" as a backend hostname specification without the compiler yelling at you: % ./varnishd -d -d -b cnn.com -a :8080 Backend host "cnn.com": resolves to multiple IPv4 addresses. Only one address is allowed. Please specify which exact address you want to use, we found these: 64.236.16.20 64.236.16.52 64.236.24.12 64.236.29.120 [...] VCL compilation failed However, you _can_ use a hostname that resolves to both an IPv4 and an IPv6 address, and the new paramter "prefer_ipv6" will determine which one we try first in such cases. The other part of this change is that we now do the DNS lookup at VCL compiletime, and only then. If your backend's DNS record (or /etc/hosts entry) changes IP#, you must reload your VCL code to notify varnish. Finer technical points: We build a bytestring representation of the sockaddr's in VCC and include them in the concept of backend identity, for an existing backend (+ connections) to be reused for a new VCL the backend must now be defined exactly the same way AND have the same resolved IPv4/IPv6 addresses. Since we never muck about with the address in the backend struct anymore, it's static for the life of the struct backend instance, we can simplify and eliminate the locking dance around our connection attempts. Also eliminate the struct vrt_backend inclusion in struct backend, and instead make the relevat fields full-blown members of struct backend. This eliminates a number of TRUST_ME() calls. This is the companion commit to #2934 which prepared the VCL compiler. git-svn-id: http://www.varnish-cache.org/svn/trunk@2936 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2935 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
IPv6 addresses, but accept one of each. Emit a bytestring representation of the sockaddr we found for each of these, into the shared object, so we avoid doing a DNS lookup again in the cacher. git-svn-id: http://www.varnish-cache.org/svn/trunk@2934 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 10 Jul, 2008 2 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2933 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@2932 d4fa192b-c00b-0410-8231-f00ffab90ce4
-