aboutsummaryrefslogtreecommitdiff
path: root/tests/test03.vtc
AgeCommit message (Collapse)AuthorFiles
2016-02-08Keep TBF data in a binary tree instead of DBM database (port 6ea9edf0).Sergey Poznyakoff1
* 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.
2014-11-01Update copyright yearsSergey Poznyakoff1
2013-08-02Switch to CDB environment.Sergey Poznyakoff1
* configure.ac: Version 0.99.91 * src/tbf.c (dbdir): New static. (tbf_set_db_name): Remove. (tbf_set_db_dir): New function. (tbf_open): Rename the parameter and related variables. Create a CDB environment and the database in it. (vmod_open): Change semantics of the first argument. * src/vmod-tbf.3: Update. * tests/Makefile.am (distclean-local): New rule, instead of DISTCLEANFILES. * tests/test00.vtc: Update call to tbf.open. * tests/test01.vtc: Likewise. * tests/test02.vtc: Likewise. * tests/test03.vtc: Likewise.
2013-07-22New function "check"Sergey Poznyakoff1
* src/vmod_tbf.c (vmod_rate): Use %lu instead of %z (vmod_check): New function. * src/vmod_tbf.vcc (check): New function. * tests/Makefile.am: Add new files. * tests/test02.vtc: New file. * tests/test03.vtc: New file. * tests/time01.vtc: New file.

Return to:

Send suggestions and report system problems to the System administrator.