Skip to content
  • Sergey Poznyakoff's avatar
    Keep TBF data in a binary tree instead of DBM database. · 6ea9edf0
    Sergey Poznyakoff authored
    * configure.ac: Don't check for libdb.
    * src/tbf.c: Rewrite using binary tree.
    * src/vmod_tbf.vcc (open, close, sync): Remove.
    (rate, check): Add PRIV_VCL argument.
    (debug,dump,gc,set_gc_interval): New functions.
    * tests/test00.vtc: Remove calls to tbf.open/close
    * tests/test01.vtc: Likewise.
    * tests/test02.vtc: Likewise.
    * tests/test03.vtc: Likewise.
    
    * NEWS: Document changes.
    * src/vmod-tbf.3: Likewise.
    6ea9edf0