]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/bindings: metatable wasn’t called on cache.{storage|size}
authorMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 26 May 2015 22:51:14 +0000 (00:51 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Tue, 26 May 2015 22:51:48 +0000 (00:51 +0200)
commitd5272b4ba85210f4f6acaca09c8b5f345fd371bc
treef9424ce8068ded882e70fcce6b9ee89cbebaf22b
parent587450c7fd712e03c2c5f8550576469be1975a50
daemon/bindings: metatable wasn’t called on cache.{storage|size}

the bindings wrote the keys on completion, so they existed
and __newindex was never called - now current {storage|size}
are saved as cache.current_{storage|size}
daemon/bindings.c
daemon/lua/sandbox.lua