• Martin Blix Grydeland's avatar
    Ignore fd's larger than 65536 in varnishncsa · cd4bb90e
    Martin Blix Grydeland authored
    This makes varnishncsa behave the same way as varnishlog, and prevents
    overly large memory allocations if it should see a bogus fd (shmlog
    overrun?).
    
    XXX: This will not fix varnishncsa for current trunk, as that is using
    XIDs instead of FDs breaking some functionality in the tools. This
    will be handled in the API rewrite.
    cd4bb90e
varnishncsa.c 20.1 KB