- 27 Feb, 2007 2 commits
-
-
Lars Bahner authored
git-svn-id: http://www.varnish-cache.org/svn/tags/varnish-1.0.3@1274 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Lars Bahner authored
git-svn-id: http://www.varnish-cache.org/svn/tags/varnish-1.0.3@1272 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 20 Feb, 2007 23 commits
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/tags/varnish-1.0.3@1265 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1264 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1263 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1262 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Correct misunderstanding regarding -w. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1261 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Forgotten commit: Update backend stats fields git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1260 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Things you didn't know about C, #7212: There is no sane way to get sscanf to tell you how many characters were consumed, if you want to allow a variable number of arguments. The special format %n is patently useless for this, because you have to insert it at every conceiveable point in the string and that presumes full explicit whitespace markup. Parse -w argument "by hand", to catch illegal input like "1,INF,15" Tripped over by: Stein Ove Rosseland <steinove@vg.no> Fixes: ticket #82 git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1259 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Expend a lock on keeping the backend statistics consistent. Rename the fields to make more sense git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1258 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
The getaddrinfo(3) API does not tell us the TTL value learned from DNS so we have to add our own stuff for that. Without some kind of TTL, we would hit the DNS server once per failed attempt to connect to the backend. If the backend were down, we could hit it a LOT. In the VCL code: backend foobar { [...] set backend.dnsttl = 20s; } will assign a TTL for DNS lookups of this backends hostname+port combination, we will not hit the DNS server more often that this. The default is set at 30 seconds, short enough to make things are workable in a load-balancing-via-DNS setups, yet long enough to not pound the DNS server flat in case of backend failures. NOTE that as long as we succeed in connecting to the backend we do not perform new DNS lookups. That will have to be revisited along with possible load-balancing schemes for the backend(s). git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1257 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Use struct assignment to overcome volatile poisoning. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1256 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Cache the workspace size from params so it doesn't change under us. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1255 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Make params volatile so changes are discovered. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1254 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Allow automake version 1.10 git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1253 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Polish as result of flexelint run and record a couple of thoughts. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1252 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Fixed double declaraction error on systems having both HAVE_SYS_STATVFS_H and HAVE_SYS_VFS_H. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1251 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Better workaround for FreeBSD autotools brokenness. Pointy hat to: {ade,portsmgr}@freebsd.org git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1250 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Make the statfs(3)/statvfs(3) dictomy actually work. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1249 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Add a FreeBSD workaround while des@ tries to get autocrap to DTRT under FreeBSD also. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1248 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
NetBSD Portability fix: Starting with 3.1, NetBSD uses statvfs and not statfs. Submitted by: Juan RP <juan@xtrarom.org> git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1247 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Removed the usage of -w in the initscript until that bug is fixed in varnishd git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1246 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Rewrite tackle_warg(): don't override the default max or timeout unless the user asks; bail if max < min; fix usage string. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1245 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
Remove printf() from signal handler. Make the pipe-juggling code slightly more readable. git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1244 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1243 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 30 Jan, 2007 1 commit
-
-
Poul-Henning Kamp authored
Update backend stats fields git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1240 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 29 Jan, 2007 1 commit
-
-
Poul-Henning Kamp authored
There is no sane way to get sscanf to tell you how many characters were consumed, if you want to allow a variable number of arguments. The special format %n is patently useless for this, because you have to insert it at every conceiveable point in the string and that presumes full explicit whitespace markup. Parse -w argument "by hand", to catch illegal input like "1,INF,15" Tripped over by: Stein Ove Rosseland <steinove@vg.no> Fixes: ticket #82 git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1239 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 22 Jan, 2007 6 commits
-
-
Poul-Henning Kamp authored
Rename the fields to make more sense git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1238 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
so we have to add our own stuff for that. Without some kind of TTL, we would hit the DNS server once per failed attempt to connect to the backend. If the backend were down, we could hit it a LOT. In the VCL code: backend foobar { [...] set backend.dnsttl = 20s; } will assign a TTL for DNS lookups of this backends hostname+port combination, we will not hit the DNS server more often that this. The default is set at 30 seconds, short enough to make things are workable in a load-balancing-via-DNS setups, yet long enough to not pound the DNS server flat in case of backend failures. NOTE that as long as we succeed in connecting to the backend we do not perform new DNS lookups. That will have to be revisited along with possible load-balancing schemes for the backend(s). git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1237 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1236 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1235 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1234 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1233 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 Jan, 2007 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1231 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 18 Dec, 2006 1 commit
-
-
Knut Aksel Roeysland authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1230 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 05 Dec, 2006 4 commits
-
-
Dag Erling Smørgrav authored
Pointy hat to: {ade,portsmgr}@freebsd.org git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1229 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1228 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
FreeBSD also. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1227 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Starting with 3.1, NetBSD uses statvfs and not statfs. Submitted by: Juan RP <juan@xtrarom.org> git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1226 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 08 Nov, 2006 1 commit
-
-
Ingvar Hagelund authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1222 d4fa192b-c00b-0410-8231-f00ffab90ce4
-