]> err.no Git - varnish/log
varnish
17 years agoBumped version to 1.0.2 proper
bahner [Thu, 19 Oct 2006 13:55:12 +0000 (13:55 +0000)]
Bumped version to 1.0.2 proper
Added wording regarding the origination of the source of
varnish with relation to debian.

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

17 years agoReverted accidental reversion of dependencies
bahner [Thu, 19 Oct 2006 13:44:27 +0000 (13:44 +0000)]
Reverted accidental reversion of dependencies

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

17 years agoAdded a vendor tag to the rpm package.
ingvar [Thu, 19 Oct 2006 12:55:20 +0000 (12:55 +0000)]
Added a vendor tag to the rpm package.

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

17 years agoAdded build scripts for Red Hat rpm package
ingvar [Thu, 19 Oct 2006 12:43:29 +0000 (12:43 +0000)]
Added build scripts for Red Hat rpm package

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

17 years agoCapitalize.
des [Thu, 19 Oct 2006 09:19:28 +0000 (09:19 +0000)]
Capitalize.

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

17 years agoAdditional commentary
des [Thu, 19 Oct 2006 09:16:42 +0000 (09:16 +0000)]
Additional commentary

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

17 years agoAdd sample VCL config.
des [Thu, 19 Oct 2006 09:16:03 +0000 (09:16 +0000)]
Add sample VCL config.

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

17 years agoAdditional details about global variables.
des [Tue, 17 Oct 2006 12:44:48 +0000 (12:44 +0000)]
Additional details about global variables.

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

17 years agoChange debian/copyright to refer to Subversion
bahner [Fri, 13 Oct 2006 08:04:07 +0000 (08:04 +0000)]
Change debian/copyright to refer to Subversion

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

17 years agoChanged storage location of backend storage to be FHS 2.3 compliant
bahner [Fri, 13 Oct 2006 07:59:54 +0000 (07:59 +0000)]
Changed storage location of backend storage to be FHS 2.3 compliant

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

17 years ago Added build dependency on libncurses-dev and a runtime dependency on
bahner [Thu, 12 Oct 2006 17:14:41 +0000 (17:14 +0000)]
 Added build dependency on libncurses-dev and a runtime dependency on
gcc >= 3.3.
Now compiles on pristine etch-systems

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

17 years agoCleaned up and remembered a todo item.
bahner [Thu, 12 Oct 2006 17:05:59 +0000 (17:05 +0000)]
Cleaned up and remembered a todo item.

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

17 years agoAdded init-scripts and configuration files for Debian.
bahner [Thu, 12 Oct 2006 16:56:54 +0000 (16:56 +0000)]
Added init-scripts and configuration files for Debian.

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

17 years agoAdd an example based on VG's PURGE code.
des [Tue, 10 Oct 2006 13:36:11 +0000 (13:36 +0000)]
Add an example based on VG's PURGE code.

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

17 years agoBumped automake dependency to automake 1.9
bahner [Tue, 10 Oct 2006 13:01:42 +0000 (13:01 +0000)]
Bumped automake dependency to automake 1.9

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

17 years agoInitial debian packaging
bahner [Tue, 10 Oct 2006 12:05:46 +0000 (12:05 +0000)]
Initial debian packaging

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

17 years agoAdd <sys/types.h> before <sys/uio.h>.
des [Mon, 9 Oct 2006 10:04:47 +0000 (10:04 +0000)]
Add <sys/types.h> before <sys/uio.h>.

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

17 years agoFix build on MacOS X: add a fake clock_gettime() and fix some includes.
des [Mon, 9 Oct 2006 09:58:58 +0000 (09:58 +0000)]
Fix build on MacOS X: add a fake clock_gettime() and fix some includes.

WARNING: varnish will build and run, but the lack of a monotonic clock
may lead to strange behaviour if the clock is stepped (rather than skewed)
while varnish is running.

Thanks to Niklas Saers for providing a test environment.

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

17 years agoThis is a handout sheet I give people at my Varnish talks.
phk [Fri, 6 Oct 2006 16:26:22 +0000 (16:26 +0000)]
This is a handout sheet I give people at my Varnish talks.

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

17 years agoOn Linux 2.6.8 and older, epoll_ctl(EPOLL_CTL_DEL) requires a poll_event
des [Fri, 6 Oct 2006 15:37:32 +0000 (15:37 +0000)]
On Linux 2.6.8 and older, epoll_ctl(EPOLL_CTL_DEL) requires a poll_event
even though it is not used, and will return EFAULT if one is not provided.

Also, instead of silently accepting EBADF from epoll_ctl(), check that
sp->fd != -1 before calling vca_del().  This can happen in some cases
where vca_pollsession() closes the session before returning.  This way,
we will still get an assertion failure if epoll_ctl() fails for some
other (unexpected) reason.

Thanks to airmax for his assistance in tracking this down.

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

17 years agoThe delivered document's age should be computed relative to the time of
des [Fri, 6 Oct 2006 12:58:04 +0000 (12:58 +0000)]
The delivered document's age should be computed relative to the time of
the response, not the time of the request.  If the document was not in
cache and the backend took a long time to respond, the document would
end up with a negative computed age, which when printed with %u would
appear as a large positive number (a few seconds short of either 2^32
or 2^64 depending on the size of time_t).

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

17 years agoClarify the semantics of -d and -dd.
des [Fri, 6 Oct 2006 11:04:01 +0000 (11:04 +0000)]
Clarify the semantics of -d and -dd.

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

17 years agoOlder versions of automake generate incorrect Makefiles, and automake's
des [Thu, 5 Oct 2006 14:56:50 +0000 (14:56 +0000)]
Older versions of automake generate incorrect Makefiles, and automake's
own mechanism for specifying a required version doesn't seem to work.
Hack autogen.sh to check which version of automake is installed.

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

17 years agoOlder versions of automake (such as 1.4, which is the default in Debian
des [Thu, 5 Oct 2006 14:20:29 +0000 (14:20 +0000)]
Older versions of automake (such as 1.4, which is the default in Debian
and Ubuntu) do not understand --force[-missing], and we can do without.

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

17 years agoRFC 2616 says "All 1xx (informational), 204 (no content), and 304 (not
des [Thu, 5 Oct 2006 11:57:35 +0000 (11:57 +0000)]
RFC 2616 says "All 1xx (informational), 204 (no content), and 304 (not
modified) responses MUST NOT include a message-body," so
Content-Length: is not needed in these cases (and Apache does indeed
not include it).  This causes PassBody() to call pass_straight() with
a NULL length argument, which waits until the connection is closed by
the server.  PassBody() should not call pass_*() at all for responses
that are known to be bodyless.

Submitted by: Dagfinn Ilmari Mannsåker <ilmari@ping.uio.no>

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

17 years agoReminder to keep the default VCL code in synch with the man page.
des [Thu, 5 Oct 2006 09:52:30 +0000 (09:52 +0000)]
Reminder to keep the default VCL code in synch with the man page.

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

17 years agoMostly complete, still lacks a list of available objects. Hope to have
des [Thu, 5 Oct 2006 09:51:51 +0000 (09:51 +0000)]
Mostly complete, still lacks a list of available objects.  Hope to have
that done later today.

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

17 years agoReopen the output file on SIGHUP. Document same. Also document
des [Thu, 5 Oct 2006 09:50:40 +0000 (09:50 +0000)]
Reopen the output file on SIGHUP.  Document same.  Also document
varnishlog's request selection feature.

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

17 years agoAlso add missing Host: headers for Pass & Pipe
phk [Mon, 2 Oct 2006 14:08:49 +0000 (14:08 +0000)]
Also add missing Host: headers for Pass & Pipe

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

17 years agoDon't suffer if one side of a piped connection keeps blasting away.
phk [Fri, 29 Sep 2006 18:37:02 +0000 (18:37 +0000)]
Don't suffer if one side of a piped connection keeps blasting away.

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

18 years agoTurn off all optimization when building with debugging symbols. Apparently,
des [Wed, 27 Sep 2006 13:32:18 +0000 (13:32 +0000)]
Turn off all optimization when building with debugging symbols.  Apparently,
just -O is not enough to prevent gcc from optimizing away loop variables.

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

18 years agorecyles -> recycles
des [Wed, 27 Sep 2006 07:43:21 +0000 (07:43 +0000)]
recyles -> recycles

Ticket: #46

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

18 years agoAdd support for C++-style comments.
des [Tue, 26 Sep 2006 14:34:39 +0000 (14:34 +0000)]
Add support for C++-style comments.

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

18 years agoDocument the run-time parameters. Bump date.
des [Tue, 26 Sep 2006 14:27:18 +0000 (14:27 +0000)]
Document the run-time parameters.  Bump date.

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

18 years agoCorrect man page reference in send_timeout description.
des [Tue, 26 Sep 2006 13:52:29 +0000 (13:52 +0000)]
Correct man page reference in send_timeout description.

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

18 years agoDocument management interface commands, and fix list markup.
des [Tue, 26 Sep 2006 13:31:58 +0000 (13:31 +0000)]
Document management interface commands, and fix list markup.

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

18 years agoInstall varnishd into the sbin directory.
des [Tue, 26 Sep 2006 13:12:01 +0000 (13:12 +0000)]
Install varnishd into the sbin directory.

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

18 years agoIgnore accept() failures if errno is EAGAIN - this is not likely to happen
des [Tue, 26 Sep 2006 13:10:36 +0000 (13:10 +0000)]
Ignore accept() failures if errno is EAGAIN - this is not likely to happen
on a production server, but it will on a test rig, and it may confuse and
alarm the admin.

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

18 years agoFixed: Compiles correctly, but has a 128 char long maximum for Remote Username.
andersb [Sun, 24 Sep 2006 17:59:00 +0000 (17:59 +0000)]
Fixed: Compiles correctly, but has a 128 char long maximum for Remote Username.

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

18 years agoFixed: Correctly logging "-" when there is no User-Agent or Referer.
andersb [Sun, 24 Sep 2006 17:14:28 +0000 (17:14 +0000)]
Fixed: Correctly logging "-" when there is no User-Agent or Referer.

Note: Still builds with warning.

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

18 years agoFixed: [] around time. NCSA logformat requires it.
andersb [Sun, 24 Sep 2006 16:17:06 +0000 (16:17 +0000)]
Fixed: [] around time. NCSA logformat requires it.
Fixed: Status variable is not shown correctly.
Added: base64() decode of Remote User.

Note: Getting compile warning.

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

18 years agoAlways send X-Forwarded-for: header to backend.
phk [Sat, 23 Sep 2006 19:30:29 +0000 (19:30 +0000)]
Always send X-Forwarded-for: header to backend.

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

18 years agoLinux sendfile returns number of bytes written.
phk [Sat, 23 Sep 2006 16:45:26 +0000 (16:45 +0000)]
Linux sendfile returns number of bytes written.

Detected by: Xing Li <xing@litespeedtech.com>

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

18 years agoRemove leftovers from copy-paste.
des [Fri, 22 Sep 2006 12:37:55 +0000 (12:37 +0000)]
Remove leftovers from copy-paste.

Spotted by: Anders Hanssen <anders@rethink.no>

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

18 years agoAdd attribution, bump date.
des [Wed, 20 Sep 2006 16:33:24 +0000 (16:33 +0000)]
Add attribution, bump date.

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

18 years agoAdd an unfinished vcl(7) man page.
des [Wed, 20 Sep 2006 16:26:54 +0000 (16:26 +0000)]
Add an unfinished vcl(7) man page.

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

18 years agoCorrect the title, name and description which were copy-pasted from
des [Wed, 20 Sep 2006 15:43:57 +0000 (15:43 +0000)]
Correct the title, name and description which were copy-pasted from
varnishhist(1).

Spotted by: Anders Hanssen <anders@rethink.no>

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

18 years agoDeclare VSL_tags[] rather than define it. This allows Varnish to build
des [Wed, 20 Sep 2006 15:41:23 +0000 (15:41 +0000)]
Declare VSL_tags[] rather than define it.  This allows Varnish to build
on MacOS.

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

18 years agoExamine queue length, not how many have passed through the queue over all time.
phk [Wed, 20 Sep 2006 14:52:07 +0000 (14:52 +0000)]
Examine queue length, not how many have passed through the queue over all time.

MFC: yes.

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

18 years agoUpdate.
des [Wed, 20 Sep 2006 09:43:39 +0000 (09:43 +0000)]
Update.

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

18 years agoWhen ditching sessions due to overflow, only ditch new sessions.
phk [Wed, 20 Sep 2006 09:00:20 +0000 (09:00 +0000)]
When ditching sessions due to overflow, only ditch new sessions.

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

18 years agoTrust autoconf to dtrt wrt libraries.
des [Wed, 20 Sep 2006 08:37:35 +0000 (08:37 +0000)]
Trust autoconf to dtrt wrt libraries.
Prefer libthr to libpthread if it's available (i.e. on FreeBSD 6 and newer)

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

18 years agoRegenerate.
des [Wed, 20 Sep 2006 07:51:04 +0000 (07:51 +0000)]
Regenerate.

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

18 years agoWhitespace, comment and attribution fixes.
des [Wed, 20 Sep 2006 07:50:27 +0000 (07:50 +0000)]
Whitespace, comment and attribution fixes.

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

18 years agoRemove doubled author information.
phk [Tue, 19 Sep 2006 05:39:43 +0000 (05:39 +0000)]
Remove doubled author information.

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

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