]> err.no Git - varnish/commit
Expand the empty shell a bit.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Mar 2006 10:48:50 +0000 (10:48 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Mar 2006 10:48:50 +0000 (10:48 +0000)
commit68be9af4550ecaefc8850cbf636e3836fbf18058
treeae57b81a780a17e82e405e3eee667602f4be4599
parentb9b7447f93129aef5e0583c62550626f9b70b985
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
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache_main.c [new file with mode: 0644]
varnish-cache/bin/varnishd/heritage.h [new file with mode: 0644]
varnish-cache/bin/varnishd/varnishd.c