]> err.no Git - varnish/log
varnish
18 years agoRe-regenerate.
des [Mon, 18 Sep 2006 22:39:33 +0000 (22:39 +0000)]
Re-regenerate.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1094 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoTypo
phk [Mon, 18 Sep 2006 22:04:52 +0000 (22:04 +0000)]
Typo

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1093 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoQuench warnings.
phk [Mon, 18 Sep 2006 22:03:54 +0000 (22:03 +0000)]
Quench warnings.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1092 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAssert my right to be identified as the author of this work.
phk [Mon, 18 Sep 2006 22:00:31 +0000 (22:00 +0000)]
Assert my right to be identified as the author of this work.

A couple of files were written by me previous to this project and
in the public domain.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1091 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRemove this not-quite-a-prototype
phk [Mon, 18 Sep 2006 21:51:59 +0000 (21:51 +0000)]
Remove this not-quite-a-prototype

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1090 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRegenerate to revert over-eager mechanical edits.
des [Mon, 18 Sep 2006 21:50:47 +0000 (21:50 +0000)]
Regenerate to revert over-eager mechanical edits.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1089 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoExpand tags.
des [Mon, 18 Sep 2006 21:48:28 +0000 (21:48 +0000)]
Expand tags.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1088 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRendons à César ce qui lui appartient.
des [Mon, 18 Sep 2006 21:48:00 +0000 (21:48 +0000)]
Rendons à César ce qui lui appartient.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1087 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRemove unused directory
phk [Mon, 18 Sep 2006 21:33:16 +0000 (21:33 +0000)]
Remove unused directory

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1086 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRemove unused file
phk [Mon, 18 Sep 2006 21:32:28 +0000 (21:32 +0000)]
Remove unused file

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1085 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRemove unused file
phk [Mon, 18 Sep 2006 21:30:53 +0000 (21:30 +0000)]
Remove unused file

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1084 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoLicensify man pages as well.
des [Mon, 18 Sep 2006 21:08:39 +0000 (21:08 +0000)]
Licensify man pages as well.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1083 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoLicensify.
des [Mon, 18 Sep 2006 20:27:00 +0000 (20:27 +0000)]
Licensify.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1082 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoA tool to add the BSD license to the top of a source file or script.
des [Mon, 18 Sep 2006 20:26:19 +0000 (20:26 +0000)]
A tool to add the BSD license to the top of a source file or script.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1081 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMore backend error conditions changed from assert to 503
phk [Mon, 18 Sep 2006 19:47:30 +0000 (19:47 +0000)]
More backend error conditions changed from assert to 503

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1080 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoDeal with backend connection errors while fetching the body.
phk [Mon, 18 Sep 2006 19:38:35 +0000 (19:38 +0000)]
Deal with backend connection errors while fetching the body.

Eventually, VCL should get a say in this.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1079 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoIntroduce three new params, to limit overflow queue length
phk [Mon, 18 Sep 2006 18:49:46 +0000 (18:49 +0000)]
Introduce three new params, to limit overflow queue length
and to force HTTP/1.1 protocol version.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1078 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoDon't copy the Age: header into the object.
phk [Mon, 18 Sep 2006 17:18:57 +0000 (17:18 +0000)]
Don't copy the Age: header into the object.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1077 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd man page.
des [Mon, 18 Sep 2006 15:24:11 +0000 (15:24 +0000)]
Add man page.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1076 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoOff by one.
phk [Mon, 18 Sep 2006 14:54:20 +0000 (14:54 +0000)]
Off by one.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1075 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoSet worker idle timestamp to request end.
phk [Mon, 18 Sep 2006 14:29:36 +0000 (14:29 +0000)]
Set worker idle timestamp to request end.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1074 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoDrop the n_wrk_busy statistics, it is too expensive to maintain
phk [Mon, 18 Sep 2006 10:41:20 +0000 (10:41 +0000)]
Drop the n_wrk_busy statistics, it is too expensive to maintain
due to locking.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1073 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a couple of XXX comments
phk [Mon, 18 Sep 2006 10:38:13 +0000 (10:38 +0000)]
Add a couple of XXX comments

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1072 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agotypo
phk [Mon, 18 Sep 2006 10:21:49 +0000 (10:21 +0000)]
typo

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1071 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd stat field missing in last commit
phk [Mon, 18 Sep 2006 10:10:57 +0000 (10:10 +0000)]
Add stat field missing in last commit

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1070 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake a global overflow queue so we don't risk parking requests
phk [Mon, 18 Sep 2006 10:10:22 +0000 (10:10 +0000)]
Make a global overflow queue so we don't risk parking requests
on workpools with no available threads.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1069 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoeliminate redundant counter.
phk [Mon, 18 Sep 2006 09:57:25 +0000 (09:57 +0000)]
eliminate redundant counter.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1068 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoIncrease CLI respone timeout to 5 seconds and tell that
phk [Mon, 18 Sep 2006 09:33:10 +0000 (09:33 +0000)]
Increase CLI respone timeout to 5 seconds and tell that
a ping has failed before we kill the child.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1067 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoCorrect the description of the second and third fields.
des [Mon, 18 Sep 2006 09:25:57 +0000 (09:25 +0000)]
Correct the description of the second and third fields.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1066 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a -w option to set the delay between updates.
des [Mon, 18 Sep 2006 09:22:56 +0000 (09:22 +0000)]
Add a -w option to set the delay between updates.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1065 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake sure all threads don't end up in the same work queue
phk [Mon, 18 Sep 2006 09:00:36 +0000 (09:00 +0000)]
Make sure all threads don't end up in the same work queue

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1064 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd an explanation of the columns in the main display.
des [Mon, 18 Sep 2006 08:55:34 +0000 (08:55 +0000)]
Add an explanation of the columns in the main display.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1063 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoWiden fields sufficiently to accomodate gigabit rates.
des [Mon, 18 Sep 2006 08:55:00 +0000 (08:55 +0000)]
Widen fields sufficiently to accomodate gigabit rates.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1062 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake flexelint happier
phk [Mon, 18 Sep 2006 07:36:33 +0000 (07:36 +0000)]
Make flexelint happier

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1061 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a simple linear retry in five steps for backend connection.
phk [Mon, 18 Sep 2006 07:16:03 +0000 (07:16 +0000)]
Add a simple linear retry in five steps for backend connection.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1060 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agobraino
phk [Mon, 18 Sep 2006 07:11:49 +0000 (07:11 +0000)]
braino

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1059 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoGet shmlog records into more sensible order.
phk [Mon, 18 Sep 2006 07:08:32 +0000 (07:08 +0000)]
Get shmlog records into more sensible order.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1058 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUnify backend error handling
phk [Mon, 18 Sep 2006 06:41:57 +0000 (06:41 +0000)]
Unify backend error handling

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1057 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMinor cleanups
phk [Mon, 18 Sep 2006 06:26:56 +0000 (06:26 +0000)]
Minor cleanups

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1056 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRevert these two for now. The expiry thread doesn't have
phk [Sun, 17 Sep 2006 21:48:04 +0000 (21:48 +0000)]
Revert these two for now.  The expiry thread doesn't have
a worker structure.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1055 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUse workerthres log buffer much more extensively
phk [Sun, 17 Sep 2006 20:26:35 +0000 (20:26 +0000)]
Use workerthres log buffer much more extensively

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1054 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoDecontest the shared memory mutex:
phk [Sun, 17 Sep 2006 19:57:51 +0000 (19:57 +0000)]
Decontest the shared memory mutex:

Add a log buffer to the worker threads, log a lot of stuff to that
and flush it into the "real" shmbuffer every so often.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1053 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoPart of this commit leaked into the previous commit:
phk [Sun, 17 Sep 2006 19:31:27 +0000 (19:31 +0000)]
Part of this commit leaked into the previous commit:

We don't use splay trees.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1052 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoKeep track of shmlog mutex contests
phk [Sun, 17 Sep 2006 19:30:31 +0000 (19:30 +0000)]
Keep track of shmlog mutex contests

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1051 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoOops, off by one.
phk [Sun, 17 Sep 2006 18:31:31 +0000 (18:31 +0000)]
Oops, off by one.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1050 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUse the worker pools in round-robin fashion.
phk [Sun, 17 Sep 2006 18:30:05 +0000 (18:30 +0000)]
Use the worker pools in round-robin fashion.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1049 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoFix logic bug so we don't reap worker threads all the time.
phk [Sun, 17 Sep 2006 09:26:24 +0000 (09:26 +0000)]
Fix logic bug so we don't reap worker threads all the time.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1048 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoWhitespace
phk [Sun, 17 Sep 2006 09:06:16 +0000 (09:06 +0000)]
Whitespace

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1047 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake sure we get the error messages from a dying child.
phk [Sun, 17 Sep 2006 09:06:08 +0000 (09:06 +0000)]
Make sure we get the error messages from a dying child.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1046 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoSet sockopts on the listen socket and probe the accepted socket (once)
phk [Sun, 17 Sep 2006 08:44:53 +0000 (08:44 +0000)]
Set sockopts on the listen socket and probe the accepted socket (once)
to see which we do not need to set there because they are inherited.

This could potentially save three syscalls per session.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1045 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUpdate the parameter list in the man page, and add reminders to keep the
des [Sun, 17 Sep 2006 08:39:37 +0000 (08:39 +0000)]
Update the parameter list in the man page, and add reminders to keep the
lists in synch.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1044 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoPossibly better logic.
phk [Sun, 17 Sep 2006 06:45:22 +0000 (06:45 +0000)]
Possibly better logic.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1043 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoEmbellish the parameter descriptions somewhat.
phk [Sat, 16 Sep 2006 22:32:00 +0000 (22:32 +0000)]
Embellish the parameter descriptions somewhat.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1042 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoChange statistics from gauge to counter
phk [Sat, 16 Sep 2006 22:00:35 +0000 (22:00 +0000)]
Change statistics from gauge to counter

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1041 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoDuh! We need to count stats in per workerthread and summarize into
phk [Sat, 16 Sep 2006 21:45:27 +0000 (21:45 +0000)]
Duh!  We need to count stats in per workerthread and summarize into
session, otherwise we cannot correctly summarize into srcaddr and global.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1040 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoPreallocate a srcaddr per workerthread to speed up locked section.
phk [Sat, 16 Sep 2006 21:35:44 +0000 (21:35 +0000)]
Preallocate a srcaddr per workerthread to speed up locked section.

Remember to free preallocated storage in workerthread.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1039 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAccount directly into the session.
phk [Sat, 16 Sep 2006 21:20:37 +0000 (21:20 +0000)]
Account directly into the session.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1038 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agouse miniobj on srcaddr's
phk [Sat, 16 Sep 2006 21:14:29 +0000 (21:14 +0000)]
use miniobj on srcaddr's

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1037 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agomake flexelint marginally happier
phk [Sat, 16 Sep 2006 21:14:13 +0000 (21:14 +0000)]
make flexelint marginally happier

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1036 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agotwiddle explanations and defaults.
phk [Sat, 16 Sep 2006 21:05:45 +0000 (21:05 +0000)]
twiddle explanations and defaults.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1035 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUse srcaddr mutex for srcaddr stats update to reduce contention on stat_mtx
phk [Sat, 16 Sep 2006 20:59:35 +0000 (20:59 +0000)]
Use srcaddr mutex for srcaddr stats update to reduce contention on stat_mtx

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1034 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoGive the srcaddr stats an overhaul.
phk [Sat, 16 Sep 2006 20:52:35 +0000 (20:52 +0000)]
Give the srcaddr stats an overhaul.

Make the number of buckets a parameter (needs restart though).

Make the ttl a parameter and have zero disable srcaddr accounting.

Give each hash bucket its own mutex.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1033 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoVCL configs change relatively seldom so we can cache the requests
phk [Sat, 16 Sep 2006 20:17:15 +0000 (20:17 +0000)]
VCL configs change relatively seldom so we can cache the requests
VCL reference in the worker thread when the request is done and
with a cheap check reuse it for the next request handled by this
thread.

This should reduce mutex contention.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1032 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake it possible to have multiple worker pools.
phk [Sat, 16 Sep 2006 19:54:34 +0000 (19:54 +0000)]
Make it possible to have multiple worker pools.

The acceptor selects the pool based on filedescriptor modulus
number of pools.

This is an attempt to reduce lock contention.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1031 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agofix debug locks
phk [Sat, 16 Sep 2006 16:00:48 +0000 (16:00 +0000)]
fix debug locks

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1030 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoWrap mutex more completely so that experimentation becomes easier.
phk [Sat, 16 Sep 2006 15:54:56 +0000 (15:54 +0000)]
Wrap mutex more completely so that experimentation becomes easier.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1029 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agowrap line
phk [Sat, 16 Sep 2006 15:52:53 +0000 (15:52 +0000)]
wrap line

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1028 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agocorrectly round INT32_MAX down to page boundary
phk [Sat, 16 Sep 2006 15:51:43 +0000 (15:51 +0000)]
correctly round INT32_MAX down to page boundary

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1027 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRename -1 to -f, and add a -1 option meaning "once". It currently does not
des [Sat, 16 Sep 2006 14:53:56 +0000 (14:53 +0000)]
Rename -1 to -f, and add a -1 option meaning "once".  It currently does not
work very well; it should use a non-curses method to display the ranking.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1026 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a non-blocking mode to the log reader.
des [Sat, 16 Sep 2006 14:50:09 +0000 (14:50 +0000)]
Add a non-blocking mode to the log reader.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1025 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a man page.
des [Sat, 16 Sep 2006 14:21:04 +0000 (14:21 +0000)]
Add a man page.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1024 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUmm, what have I been smoking? varnishstat is not a logger and does not
des [Sat, 16 Sep 2006 14:06:57 +0000 (14:06 +0000)]
Umm, what have I been smoking?  varnishstat is not a logger and does not
support VSL_ARGS.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1023 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoBring up-to-date.
des [Sat, 16 Sep 2006 13:08:38 +0000 (13:08 +0000)]
Bring up-to-date.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1022 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRemove stray -a description.
des [Sat, 16 Sep 2006 13:06:01 +0000 (13:06 +0000)]
Remove stray -a description.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1021 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoBring up-to-date.
des [Sat, 16 Sep 2006 13:02:40 +0000 (13:02 +0000)]
Bring up-to-date.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1020 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoBump date and add cross-references to all log programs.
des [Sat, 16 Sep 2006 13:02:24 +0000 (13:02 +0000)]
Bump date and add cross-references to all log programs.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1019 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years ago-c collides with one of the standard VSL options, so replace it with -1,
des [Sat, 16 Sep 2006 12:59:41 +0000 (12:59 +0000)]
-c collides with one of the standard VSL options, so replace it with -1,
which has the opposite meaning (IMHO, the continuous display is the most
useful)

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1018 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoSort options correctly.
des [Sat, 16 Sep 2006 12:45:00 +0000 (12:45 +0000)]
Sort options correctly.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1017 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoBring up-to-date, and sort options correctly.
des [Sat, 16 Sep 2006 12:43:50 +0000 (12:43 +0000)]
Bring up-to-date, and sort options correctly.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1016 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoSort options correctly.
des [Sat, 16 Sep 2006 12:43:11 +0000 (12:43 +0000)]
Sort options correctly.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1015 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoFix usage string.
des [Sat, 16 Sep 2006 12:29:08 +0000 (12:29 +0000)]
Fix usage string.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1014 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd -V option, fix usage string.
des [Sat, 16 Sep 2006 12:28:59 +0000 (12:28 +0000)]
Add -V option, fix usage string.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1013 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd the ability to write to a file (it was previously documented but not
des [Sat, 16 Sep 2006 12:28:34 +0000 (12:28 +0000)]
Add the ability to write to a file (it was previously documented but not
implemented).
Fix the usage string.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1012 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a -a option to control append / overwrite when writing to a file.
des [Sat, 16 Sep 2006 12:26:45 +0000 (12:26 +0000)]
Add a -a option to control append / overwrite when writing to a file.
Fix the usage string.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1011 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a usage string for the standard VSL options.
des [Sat, 16 Sep 2006 12:25:36 +0000 (12:25 +0000)]
Add a usage string for the standard VSL options.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1010 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoTweak storage file size calculations. Avoid overflow when calculating 80%
des [Sat, 16 Sep 2006 12:23:33 +0000 (12:23 +0000)]
Tweak storage file size calculations.  Avoid overflow when calculating 80%
of available storage on 32-bit Linux (most fields in struct statfs are long
instead of int64_t as in BSD)

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1009 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoJust in case.
phk [Sat, 16 Sep 2006 11:34:25 +0000 (11:34 +0000)]
Just in case.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1008 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoExpand keywords.
des [Sat, 16 Sep 2006 11:28:50 +0000 (11:28 +0000)]
Expand keywords.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1007 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoBring up-to-date. Still lacks descriptions for management commands and
des [Sat, 16 Sep 2006 11:01:07 +0000 (11:01 +0000)]
Bring up-to-date.  Still lacks descriptions for management commands and
run-time parameters.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1006 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoForgot about embedded CLI commands here.
phk [Sat, 16 Sep 2006 11:00:08 +0000 (11:00 +0000)]
Forgot about embedded CLI commands here.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1005 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoThe buckets_per_mutex parameter was removed in r813.
des [Sat, 16 Sep 2006 10:36:23 +0000 (10:36 +0000)]
The buckets_per_mutex parameter was removed in r813.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1004 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoUse generic param setting stuff
phk [Sat, 16 Sep 2006 09:49:51 +0000 (09:49 +0000)]
Use generic param setting stuff

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1003 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake the listen depth a paramter.
phk [Sat, 16 Sep 2006 09:38:09 +0000 (09:38 +0000)]
Make the listen depth a paramter.

Clean up the paramter stuff even more.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1002 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd -p param=value command line argument.
phk [Sat, 16 Sep 2006 09:06:45 +0000 (09:06 +0000)]
Add -p param=value command line argument.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1001 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoGeneralize parameter setting at start up.
phk [Sat, 16 Sep 2006 09:01:21 +0000 (09:01 +0000)]
Generalize parameter setting at start up.

Give the managers main a struct cli and use that to call into
the paramter stuff for setting listen address.  More params to follow.

When setting the listen address, check that getaddrinfo() doesn't
hate it.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1000 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoOpen and close the listen socket when we start and stop the child.
phk [Sat, 16 Sep 2006 08:20:39 +0000 (08:20 +0000)]
Open and close the listen socket when we start and stop the child.

Make the listen address a parameter.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@999 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoRename the config.* CLI command family to vcl.*. It is more intuitive
phk [Sat, 16 Sep 2006 07:49:35 +0000 (07:49 +0000)]
Rename the config.* CLI command family to vcl.*.  It is more intuitive
that way and we may eventually want a config file for varnishd to
control obscure parameters.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@998 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoMake the shmlog'ing of vcl execution a parameter.
phk [Sat, 16 Sep 2006 07:44:15 +0000 (07:44 +0000)]
Make the shmlog'ing of vcl execution a parameter.

VCL tracing is responsible for a very large fraction of the shmlog
records and will generally only be used for debugging of VCL code.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@997 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoAdd a base64 decoder.
phk [Fri, 15 Sep 2006 19:25:06 +0000 (19:25 +0000)]
Add a base64 decoder.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@996 d4fa192b-c00b-0410-8231-f00ffab90ce4

18 years agoEliminate the session_grace thing, the inter-request interval is to
phk [Fri, 15 Sep 2006 16:18:27 +0000 (16:18 +0000)]
Eliminate the session_grace thing, the inter-request interval is to
large in general (think RTT) for this to make sense, it costs a syscall
and if a delay is used, at least two context switches.

We still capture sessions that do pipe-line avoiding the context switch
in that case, without incurring the syscall overhead.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@995 d4fa192b-c00b-0410-8231-f00ffab90ce4