]> err.no Git - varnish/log
varnish
18 years agoput symbolic names on the tags
phk [Fri, 24 Mar 2006 09:14:06 +0000 (09:14 +0000)]
put symbolic names on the tags

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

18 years agoAdd a minimal log tailer.
phk [Fri, 24 Mar 2006 09:05:19 +0000 (09:05 +0000)]
Add a minimal log tailer.

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

18 years agoMove the SHM tags into a resuable .h file.
phk [Fri, 24 Mar 2006 08:43:48 +0000 (08:43 +0000)]
Move the SHM tags into a resuable .h file.

Minor nits

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

18 years agoAdd shared memory log setup and stuffer function in the child process.
phk [Thu, 23 Mar 2006 15:31:20 +0000 (15:31 +0000)]
Add shared memory log setup and stuffer function in the child process.

Log whenever we get a CLI ping

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

18 years agoNow we're starting to get somewhere: Accept connections and assemble
phk [Thu, 23 Mar 2006 12:20:30 +0000 (12:20 +0000)]
Now we're starting to get somewhere:  Accept connections and assemble
a HTTP request.

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

18 years agoOpen TCP sockets
phk [Thu, 23 Mar 2006 08:45:44 +0000 (08:45 +0000)]
Open TCP sockets

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

18 years agoMake it possible to suspend and resume a cli connection while we wait
phk [Fri, 17 Mar 2006 13:41:32 +0000 (13:41 +0000)]
Make it possible to suspend and resume a cli connection while we wait
for response from the child (or otherwise).

Add a generic "pass-through" handler for cli requests we just pass on
to the child.

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

18 years agoAdd multiplexing for the mgt->child cli connection and get ping/pong
phk [Fri, 17 Mar 2006 10:03:05 +0000 (10:03 +0000)]
Add multiplexing for the mgt->child cli connection and get ping/pong
working across it.

The management process will now keep the child process watchdog from
expiring.

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

18 years agocleanup
phk [Thu, 16 Mar 2006 12:14:59 +0000 (12:14 +0000)]
cleanup

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

18 years agoExpand the empty shell a bit.
phk [Thu, 16 Mar 2006 10:48:50 +0000 (10:48 +0000)]
Expand the empty shell a bit.

Add CLI handler on stdin (for now, in production only if
debug is specified).

Implement help, verbos, ping and start.

start forks the child process, sets up listeners on its stdout/stderr
(where nothing should arrive in production).

Add SIGCHLD handler to reap and restart the child.

Add shell "main" for the child:  Set up a CLI handler on the pipes
passed as heritage.

Add ping command and keepalive timeout.

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

18 years agoFunctions to handle the CLI with event(3)'s buffer events.
phk [Thu, 16 Mar 2006 10:46:01 +0000 (10:46 +0000)]
Functions to handle the CLI with event(3)'s buffer events.

This may eventually belong in a library for wider use.

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

18 years agoGeneric and public stuff for CLI protocol handling.
phk [Thu, 16 Mar 2006 09:02:24 +0000 (09:02 +0000)]
Generic and public stuff for CLI protocol handling.

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

18 years agoadd min+max argument counts
phk [Thu, 16 Mar 2006 08:30:04 +0000 (08:30 +0000)]
add min+max argument counts

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

18 years agoAdd definitions pertaining to the ascii-protocol which will be used
phk [Wed, 15 Mar 2006 20:34:10 +0000 (20:34 +0000)]
Add definitions pertaining to the ascii-protocol which will be used
multiple different places in the varnish architecture.

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

18 years agoAdd Niels Provos's libevent 1.1a.
des [Tue, 14 Mar 2006 12:54:13 +0000 (12:54 +0000)]
Add Niels Provos's libevent 1.1a.

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

18 years agoSet the correct property (svn:keywords, not svn:keyword)
des [Tue, 14 Mar 2006 12:00:35 +0000 (12:00 +0000)]
Set the correct property (svn:keywords, not svn:keyword)

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

18 years agoAdd a man page, and set the correct property (svn:keywords, not svn:keyword)
des [Tue, 14 Mar 2006 11:57:28 +0000 (11:57 +0000)]
Add a man page, and set the correct property (svn:keywords, not svn:keyword)

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

18 years agoAdd some trivial bits while I think about the hard ones
phk [Tue, 14 Mar 2006 09:31:15 +0000 (09:31 +0000)]
Add some trivial bits while I think about the hard ones

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

18 years agoAdd a function to break a command line like string into an argv[].
phk [Tue, 14 Mar 2006 09:15:36 +0000 (09:15 +0000)]
Add a function to break a command line like string into an argv[].
This will be useful for the various text based protocols etc.

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

18 years agoAdd hash.h, queue.h and tree.h from NetBSD-CURRENT.
des [Mon, 13 Mar 2006 14:23:15 +0000 (14:23 +0000)]
Add hash.h, queue.h and tree.h from NetBSD-CURRENT.

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

18 years agoAdd libsbuf, based on the latest sbuf code from FreeBSD-CURRENT.
des [Mon, 13 Mar 2006 14:14:16 +0000 (14:14 +0000)]
Add libsbuf, based on the latest sbuf code from FreeBSD-CURRENT.

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

18 years agoPick up the gnu-autotools binary directory if we spot one. This
phk [Mon, 13 Mar 2006 13:30:20 +0000 (13:30 +0000)]
Pick up the gnu-autotools binary directory if we spot one.  This
makes life on FreeBSD somewhat easier.

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

18 years agoAdd first cut of VCL compiler to the tree.
phk [Mon, 13 Mar 2006 12:37:04 +0000 (12:37 +0000)]
Add first cut of VCL compiler to the tree.

The Makefile is a temporary shim until I get the auto* stuff working.

The sample.vcl is a small mock-up to test the compiler.

Some of the .h files needs to move other places in the fullness of time.

But other than that...

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

18 years agoIgnore generated files; generated with the following command:
des [Thu, 2 Mar 2006 10:32:59 +0000 (10:32 +0000)]
Ignore generated files; generated with the following command:

svk propset svn:ignore "$(svk status | awk '/^\?/ { print $2 }')" .

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

18 years agoUntested & undocumented login code. I don't have time to continue working
des [Thu, 2 Mar 2006 10:31:17 +0000 (10:31 +0000)]
Untested & undocumented login code.  I don't have time to continue working
on it right now, but I want it in the tree so phk doesn't start duplicating
my effort.

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

18 years agoAdd varnishd to ignore list.
des [Thu, 2 Mar 2006 10:29:52 +0000 (10:29 +0000)]
Add varnishd to ignore list.

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

18 years agoIgnore generated files.
des [Mon, 27 Feb 2006 14:21:25 +0000 (14:21 +0000)]
Ignore generated files.

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

18 years agoIgnore generated files.
des [Mon, 27 Feb 2006 14:21:13 +0000 (14:21 +0000)]
Ignore generated files.

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

18 years agoIgnore generated files.
des [Mon, 27 Feb 2006 14:21:01 +0000 (14:21 +0000)]
Ignore generated files.

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

18 years agoCorrect libtool idiom: run libtoolize after aclocal, and use LTLIBRARIES
des [Mon, 27 Feb 2006 11:10:13 +0000 (11:10 +0000)]
Correct libtool idiom: run libtoolize after aclocal, and use LTLIBRARIES
instead of LIBRARIES.

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

18 years agoDon't forget the license!
des [Mon, 27 Feb 2006 09:55:56 +0000 (09:55 +0000)]
Don't forget the license!

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

18 years agoImplement tables.
des [Mon, 27 Feb 2006 08:47:09 +0000 (08:47 +0000)]
Implement tables.

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

18 years agoCorrect list rendering.
des [Mon, 27 Feb 2006 08:24:04 +0000 (08:24 +0000)]
Correct list rendering.

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

18 years agoAdd table formatting.
des [Mon, 27 Feb 2006 08:16:35 +0000 (08:16 +0000)]
Add table formatting.

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

18 years agoPaste large portion of phk's notes.
des [Mon, 27 Feb 2006 07:47:19 +0000 (07:47 +0000)]
Paste large portion of phk's notes.

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

18 years agoSeparate specification from architecture.
des [Mon, 27 Feb 2006 07:28:50 +0000 (07:28 +0000)]
Separate specification from architecture.

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

18 years agoFork varnish-architecture off of varnish-specification.
des [Mon, 27 Feb 2006 07:27:28 +0000 (07:27 +0000)]
Fork varnish-architecture off of varnish-specification.

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

18 years agoPrefer sans-serif fonts.
des [Fri, 24 Feb 2006 15:03:59 +0000 (15:03 +0000)]
Prefer sans-serif fonts.

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

18 years agoSet mime-type and charset.
des [Fri, 24 Feb 2006 15:01:25 +0000 (15:01 +0000)]
Set mime-type and charset.

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

18 years agoLightweight XSL stylesheet for transforming DocBook XML to XHTML, with
des [Fri, 24 Feb 2006 15:01:14 +0000 (15:01 +0000)]
Lightweight XSL stylesheet for transforming DocBook XML to XHTML, with
accompanying CSS stylesheet.

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

18 years agoFix a couple of syntax errors.
des [Fri, 24 Feb 2006 14:58:42 +0000 (14:58 +0000)]
Fix a couple of syntax errors.

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

18 years agoSource tree structure as agreed.
des [Fri, 24 Feb 2006 14:35:55 +0000 (14:35 +0000)]
Source tree structure as agreed.

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

18 years agoAdd a short section on refreshing. Done for today.
des [Thu, 23 Feb 2006 15:57:43 +0000 (15:57 +0000)]
Add a short section on refreshing.  Done for today.

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

18 years agoDiscuss expiry and cacheability.
des [Thu, 23 Feb 2006 14:32:11 +0000 (14:32 +0000)]
Discuss expiry and cacheability.

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

18 years agoCorrect handling of section titles: articles can't have chapters, so we need
des [Thu, 23 Feb 2006 14:29:05 +0000 (14:29 +0000)]
Correct handling of section titles: articles can't have chapters, so we need
to treat articles and books differently.

Display ordered and itemized lists correctly.

Show links as blue underlined text (unfortunately, CSS is not sufficiently
powerful to make them clickable, unless we start embedding ECMAScript in it).

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

18 years agoAdd RFC 3507 (ICAP).
des [Thu, 23 Feb 2006 14:21:15 +0000 (14:21 +0000)]
Add RFC 3507 (ICAP).

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

18 years agoThursday morning's work.
des [Thu, 23 Feb 2006 11:36:27 +0000 (11:36 +0000)]
Thursday morning's work.

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

18 years agoImprove rendering of section titles
des [Wed, 22 Feb 2006 19:11:05 +0000 (19:11 +0000)]
Improve rendering of section titles

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

18 years agoTurn top-level sections into chapters
des [Wed, 22 Feb 2006 19:10:51 +0000 (19:10 +0000)]
Turn top-level sections into chapters

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

18 years agoSet correct mime-type.
des [Wed, 22 Feb 2006 18:44:01 +0000 (18:44 +0000)]
Set correct mime-type.

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

18 years agoAutotools bootstrap script.
des [Wed, 22 Feb 2006 16:49:53 +0000 (16:49 +0000)]
Autotools bootstrap script.

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

18 years agoEnable the Id keyword.
des [Wed, 22 Feb 2006 16:49:36 +0000 (16:49 +0000)]
Enable the Id keyword.

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

18 years agoSimple CSS stylesheet for displaying raw DocBook XML documents, without first
des [Wed, 22 Feb 2006 16:47:50 +0000 (16:47 +0000)]
Simple CSS stylesheet for displaying raw DocBook XML documents, without first
processing them with XSLT.

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

18 years agoDraft specification in DocBook format.
des [Wed, 22 Feb 2006 16:18:23 +0000 (16:18 +0000)]
Draft specification in DocBook format.

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

18 years agoBibliography collection.
des [Wed, 22 Feb 2006 16:18:07 +0000 (16:18 +0000)]
Bibliography collection.

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

18 years agoMove prototype code into varnish-proto.
des [Wed, 22 Feb 2006 14:38:21 +0000 (14:38 +0000)]
Move prototype code into varnish-proto.

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

18 years agoAdditional subdivisions.
des [Wed, 22 Feb 2006 14:31:39 +0000 (14:31 +0000)]
Additional subdivisions.

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

18 years agoUse dual copyright (Verdens Gang AS and Linpro AS) and the exact same
des [Mon, 20 Feb 2006 10:11:10 +0000 (10:11 +0000)]
Use dual copyright (Verdens Gang AS and Linpro AS) and the exact same
license text as used by FreeBSD and OpenBSD.

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

18 years agoAdd FreeBSD implementation of system_init_ncpu().
des [Sat, 11 Feb 2006 00:04:28 +0000 (00:04 +0000)]
Add FreeBSD implementation of system_init_ncpu().

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

18 years agoDisentangle listener and connection, allowing the struct definitions to move
des [Fri, 10 Feb 2006 16:05:32 +0000 (16:05 +0000)]
Disentangle listener and connection, allowing the struct definitions to move
out of the headers into the code, reducing header dependencies.
Add code to detect the number of CPU cores on Linux.
Fork as many listening child processes as we have CPU cores.
Add timestamps and the current PID to log messages.

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

18 years agoIgnore generated files.
des [Fri, 10 Feb 2006 16:05:07 +0000 (16:05 +0000)]
Ignore generated files.

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

18 years agoEnable keyword expansion.
des [Fri, 10 Feb 2006 14:42:34 +0000 (14:42 +0000)]
Enable keyword expansion.

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

18 years agoThis is the skeleton code I wrote on my way back from Basel last fall. The
des [Fri, 10 Feb 2006 14:41:36 +0000 (14:41 +0000)]
This is the skeleton code I wrote on my way back from Basel last fall.  The
code itself is probably not worth much, but I've put quite a lot of work into
two portions of it: the autoconf framework and the listener code.

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

18 years agoTwo-clause BSD license. Assign copyright to Linpro for now.
des [Fri, 10 Feb 2006 12:48:04 +0000 (12:48 +0000)]
Two-clause BSD license.  Assign copyright to Linpro for now.

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

18 years agoCreate standard top-level directories.
des [Wed, 1 Feb 2006 18:54:53 +0000 (18:54 +0000)]
Create standard top-level directories.

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