• Poul-Henning Kamp's avatar
    Overhaul NCSA logging. · fc9e8beb
    Poul-Henning Kamp authored
    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: http://www.varnish-cache.org/svn/trunk/varnish-cache@981 d4fa192b-c00b-0410-8231-f00ffab90ce4
    fc9e8beb
flint.sh 391 Bytes