• Poul-Henning Kamp's avatar
    Overhaul NCSA logging. · fcd35f10
    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@981 d4fa192b-c00b-0410-8231-f00ffab90ce4
    fcd35f10
flint.lnt 2.2 KB