path: root/src/vmod_dict.c
AgeCommit message (Collapse)AuthorFiles
2018-12-10Version 1.2 (support for Varnish 6.0.2)release-1.2Sergey Poznyakoff1
2017-08-06Switch to POSIX pthread_rwlock functions instead of the custom lockerSergey Poznyakoff1
2017-08-03Serialize write access. Improve API.Sergey Poznyakoff1
* src/vmod_dict.c (entry): Link into a double-linked list. (entry_append, entry_remove): New functions. (max_coll): New static. (locker_t): New type. (locker_init,locker_rlock,locker_wlock) (locker_runlock,locker_wunlock): New functions. (load_entries): Use syslog for diagnostics. Abort if unable to open the file. Fix minor memory leak. (rehash,fill_table): New functions. (dict_event): Handle VCL_EVENT_DISCARD. (vmod_load): Change signature. (vmod_ci,vmod_collisions): New functions. (vmod_clear): New function. * src/vmod_dict.vcc: Update. * tests/ci.at: Accomodate the above changes. * tests/cs.at: Likewise.
2017-08-01Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.