]>
err.no Git - varnish/log
phk [Sat, 24 Mar 2007 22:09:53 +0000 (22:09 +0000)]
Twist the compiler logic around a bit.
Concatenate all definitions of the method functions into one
instance of the function:
sub vcl_pipe {
foo;
}
sub vcl_pipe {
bar;
}
is now the same as
sub vcl_pipe {
foo;
bar;
}
This avoids all the magic related to the default functions and
hopefully makes the newly introduced "include" facility much more
useful.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1284
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Sat, 24 Mar 2007 21:01:43 +0000 (21:01 +0000)]
Split off the parsing from vcc_compile.c into vcc_parse.c
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1283
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Sat, 24 Mar 2007 20:33:40 +0000 (20:33 +0000)]
use tl-> consistently
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1282
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Fri, 9 Mar 2007 10:31:29 +0000 (10:31 +0000)]
Implement a facility for source file modularization in the VCL
compiler. The syntax is:
include "filename" ;
Unlike the C preprocessors #include directive, a VCL include can
appear anywhere in the sourcefile:
if {req.Cookie == include "cookie.vcl" ; || !req.Host } {
}
and have cookie.vcl contain just:
"
8435398475983275293759843 "
Technically this results in a change to how we account for source
code references in the counter/profile table as well, and as a result
the entire source code of the VCL program is now compiled into the
shared library for easy reference.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1281
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 8 Mar 2007 10:09:18 +0000 (10:09 +0000)]
Make Varnish able to accept connections from multiple sockets by
specifying a whitespace separated list of addresses to -a (or
param.set listen_address).
I'm not sure about the error handling, for instance, what is the
desirable behaviour if one of multiple sockets fail to open ?
Suggested by: <darryl.dixon@winterhouseconsulting.com>
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1280
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Thu, 8 Mar 2007 09:07:21 +0000 (09:07 +0000)]
Add missing "volatile" qualifiers on generic tweakers.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1279
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Wed, 7 Mar 2007 10:38:20 +0000 (10:38 +0000)]
Add a bit of garbage collection to yesterdays change: Passed objects need
to have their storage properly reclaimed, including the actual content
of a obj.pass=1 cache entry, once we have sent the content to the original
requestor.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1278
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 6 Mar 2007 22:40:06 +0000 (22:40 +0000)]
Having thought long and hard about this, commit what I think is the
new and simpler flow for version2.
Pass is now handled like a miss where the object will not be cached.
The main result of this is that we drag the entire object, header
and body, from the backend before transmitting it to the client,
thus isolating the backend from slow clients.
From a software engineering point of view it is a big improvement,
because it eliminates the need for all of cache_pass.c and we therefore
end up with less HTTP protocol implementations.
A side effect of this is that ticket #56 should be fixed now.
If the object is pass'ed before vcl_fetch{} that is, in vcl_recv{},
vcl_hit{} or vcl_miss{}, no "pass this" object is inserted in the
cache. The confusion between "pass", "insert" and "insert_pass"
has been cleaned up, by the removal of the latter.
Pipe and Pass calls vcl_pipe{} and vcl_pass{} respectively, before
contacting the backend. I havn't quite decided if they should
operate on the request header from the client or the one to the
backend, or both.
One possible use is to inject a "Connection: close" header to limit
pipe to one transaction.
A new vcl_hash{} has been added, it will allow customization of
which fields we hash on, instead of the default "url + Host:" but
this is not yet implemented.
vcl_fetch{} is now called after both the headers and body have been
picked up from the backend. This will allow us to do more comprehensive
handling of backend errors later on.
A disadvantage to this is that if the object ends up as a "pass
this" object in the cache, we could possibly have released any
queued requests already after the headers were received. If this
is transpires as a real-world problem, we can add a vcl_fetchhdr{}
which can do an early release (ie: "pass").
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1277
d4fa192b -c00b-0410-8231-
f00ffab90ce4
bahner [Tue, 27 Feb 2007 19:54:05 +0000 (19:54 +0000)]
Postremove for debian
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1275
d4fa192b -c00b-0410-8231-
f00ffab90ce4
bahner [Tue, 27 Feb 2007 19:32:19 +0000 (19:32 +0000)]
numeric value for VARNISH_MAX_WORKER_THREADS
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1273
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Fri, 23 Feb 2007 10:12:29 +0000 (10:12 +0000)]
Include Debian and RedHat package metadata in the tarball. This makes life
a lot easier for our packagers.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1271
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Fri, 23 Feb 2007 10:06:53 +0000 (10:06 +0000)]
Consistently use UTF-8 for non-ASCII characters.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1270
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Tue, 20 Feb 2007 13:22:33 +0000 (13:22 +0000)]
Doh! Fix more -w lossage.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1266
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Tue, 20 Feb 2007 08:46:24 +0000 (08:46 +0000)]
Correct misunderstanding regarding -w.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1243
d4fa192b -c00b-0410-8231-
f00ffab90ce4
knutroy [Fri, 16 Feb 2007 13:26:52 +0000 (13:26 +0000)]
Updated regression test framework so that it runs "test1" sample code.
See TODO-file for a (non-exhaustive) list of what remains to be done.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1242
d4fa192b -c00b-0410-8231-
f00ffab90ce4
knutroy [Tue, 6 Feb 2007 21:55:03 +0000 (21:55 +0000)]
Updated regression test framework, but more work is still needed.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1241
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 30 Jan 2007 12:17:58 +0000 (12:17 +0000)]
Forgotten commit:
Update backend stats fields
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1240
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 29 Jan 2007 22:06:33 +0000 (22:06 +0000)]
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: svn+ssh://projects.linpro.no/svn/varnish/trunk@1239
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 13:24:42 +0000 (13:24 +0000)]
Expend a lock on keeping the backend statistics consistent.
Rename the fields to make more sense
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1238
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 12:31:52 +0000 (12:31 +0000)]
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: svn+ssh://projects.linpro.no/svn/varnish/trunk@1237
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 11:46:25 +0000 (11:46 +0000)]
Use struct assignment to overcome volatile poisoning.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1236
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 11:15:57 +0000 (11:15 +0000)]
Cache the workspace size from params so it doesn't change under us.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1235
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 11:15:27 +0000 (11:15 +0000)]
Make params volatile so changes are discovered.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1234
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Mon, 22 Jan 2007 08:43:30 +0000 (08:43 +0000)]
Allow automake version 1.10
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1233
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Wed, 10 Jan 2007 13:13:50 +0000 (13:13 +0000)]
Unfinished regression test framework which knutroy is taking over from me.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1232
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 2 Jan 2007 13:41:08 +0000 (13:41 +0000)]
Polish as result of flexelint run and record a couple of thoughts.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1231
d4fa192b -c00b-0410-8231-
f00ffab90ce4
knutroy [Mon, 18 Dec 2006 15:58:59 +0000 (15:58 +0000)]
Fixed double declaraction error on systems having both HAVE_SYS_STATVFS_H and HAVE_SYS_VFS_H.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1230
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Tue, 5 Dec 2006 11:42:39 +0000 (11:42 +0000)]
Better workaround for FreeBSD autotools brokenness.
Pointy hat to: {ade,portsmgr}@freebsd.org
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1229
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 5 Dec 2006 09:41:16 +0000 (09:41 +0000)]
Make the statfs(3)/statvfs(3) dictomy actually work.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1228
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 5 Dec 2006 08:48:27 +0000 (08:48 +0000)]
Add a FreeBSD workaround while des@ tries to get autocrap to DTRT under
FreeBSD also.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1227
d4fa192b -c00b-0410-8231-
f00ffab90ce4
phk [Tue, 5 Dec 2006 08:47:43 +0000 (08:47 +0000)]
NetBSD Portability fix:
Starting with 3.1, NetBSD uses statvfs and not statfs.
Submitted by: Juan RP <juan@xtrarom.org>
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1226
d4fa192b -c00b-0410-8231-
f00ffab90ce4
ingvar [Wed, 8 Nov 2006 09:03:40 +0000 (09:03 +0000)]
Removed the usage of -w in the initscript until that bug is fixed in varnishd
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1222
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Wed, 8 Nov 2006 08:59:20 +0000 (08:59 +0000)]
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: svn+ssh://projects.linpro.no/svn/varnish/trunk@1221
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Wed, 8 Nov 2006 08:49:57 +0000 (08:49 +0000)]
Remove printf() from signal handler.
Make the pipe-juggling code slightly more readable.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1220
d4fa192b -c00b-0410-8231-
f00ffab90ce4
bahner [Fri, 3 Nov 2006 09:37:47 +0000 (09:37 +0000)]
Adding lintian-overrides for debian acceptance
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1216
d4fa192b -c00b-0410-8231-
f00ffab90ce4
des [Thu, 2 Nov 2006 12:57:11 +0000 (12:57 +0000)]
As per ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change,
remove the so-called advertising clause from these files' license,
making it compatible with the Debian Free Software Guidelines. As
these files were obtained from FreeBSD, this change was discussed
with and approved by the FreeBSD core team.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1208
d4fa192b -c00b-0410-8231-
f00ffab90ce4
bahner [Mon, 23 Oct 2006 12:21:17 +0000 (12:21 +0000)]
Lintian overrides for debian-acceptance
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1207
d4fa192b -c00b-0410-8231-
f00ffab90ce4
bahner [Mon, 23 Oct 2006 12:12:07 +0000 (12:12 +0000)]
Preliminary LSB compliance in init-scripts
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1206
d4fa192b -c00b-0410-8231-
f00ffab90ce4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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