summaryrefslogtreecommitdiff
path: root/perl_dmod
AgeCommit message (Collapse)Author
2018-01-16vyatta-cfg: Fix memory leak in Cstore perl bindingGenta IHA
The Cstore perl binding (XS) has memory leak bug. This commit will fix this issue. All XS should implement "DESTROY" function to free memory, but this binding haven't this function. It leads memory leak each time when you call "new Cstore();" in perl code. Additionally, VyOS Helium standard Perl module "Vyatta::Config" have a Cstore instance variable, and each time calling "new Vyatta::Config();" in Perl causes memory leak due to this issue. Especially, the long-live process using Vyatta::Config (e.g. vyos-intfwatched) lead to serious memory exhaustion problem due to this issue. This patch implements the "DESTROY" function in XS for Cstore library, and fix this memory leak issue.
2011-04-06minor refactoringAn-Cheng Huang
2011-03-17add config path abstraction and high-level cachingAn-Cheng Huang
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
2011-02-18namespace reorgAn-Cheng Huang
2011-01-05fix for bug 6641An-Cheng Huang
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5)
2010-12-10Export inSession to the perl api.Stig Thormodsrud
2010-12-02change "load" to use new backend loadFile implementation.An-Cheng Huang
* export loadFile through perl API. * "load" operation is now handled by the backend library.
2010-11-22export backend sessionChanged() through perl APIAn-Cheng Huang
2010-08-25switch to unordered_mapAn-Cheng Huang
2010-08-13add API function for retrieving deleted values of a multi node.An-Cheng Huang
2010-07-30add default status observersAn-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang