]> err.no Git - varnish/commit
Overhaul NCSA logging.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Sep 2006 07:14:37 +0000 (07:14 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Sep 2006 07:14:37 +0000 (07:14 +0000)
commita31d7087be195fa3e3b2107427817d1996cca7c8
treeac062330a4cb103ff17399c1d502d7a3b0324e7a
parent01fa50f4a7d255f0c3ebe38e2a22eae670c8b9be
Overhaul NCSA logging.

Reduce memory footprint by only allocating space for a fd first time
we see it.  Few if any servers will ever see 64k fd's in use.

Move the sbuf into the logline structure for simplicity.

Access the logline structure through a pointer instead of indexing
the array all the time.

Reduce amount of malloc/free traffic for performance.

Use the "cooked" SHMlog api where the length, fd, etc are broken out
as arguments for us.  Pass the FILE* where we want the stuff to
go as private data (stdout for now).

Add FlexeLint files.

Now over to Anders again...

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@981 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishncsa/flint.lnt [new file with mode: 0644]
varnish-cache/bin/varnishncsa/flint.sh [new file with mode: 0644]
varnish-cache/bin/varnishncsa/varnishncsa.c