I agree, i was just surprised that DB driver never calls DbClose on
exit, if i need to do it i have to write proc that will call ns_db
bouncepool for every registered pool on server exit
for Berkeley Db module i will do on_exit callback internally but just
wanted to see other opinions on the t
Not unload, but call proc on "unload", similar to init during loading,
that will be shutdown proc on server exit
Zoran Vasiljevic wrote:
On 01.05.2006, at 19:23, Vlad Seryakov wrote:
Funny thing i encountered today, working with Berkeley module, i
discovered that once loaded, DB driver is ne
On Mon, May 01, 2006 at 01:23:52PM -0400, Vlad Seryakov wrote:
> Subject: Module unloading
Well, don't think you're talking about module unloading at all
(good!). You seem to be talking about callbacks to call when shutting
down the Naviserver process.
> Funny thing i encountered today, working
On 01.05.2006, at 19:23, Vlad Seryakov wrote:
Funny thing i encountered today, working with Berkeley module, i
discovered that once loaded, DB driver is never closed, in case of
DB it needs to be closed otherwise datafile can be corrupted.
I am thinking to make it more generic, to add Ns_Mo
Funny thing i encountered today, working with Berkeley module, i
discovered that once loaded, DB driver is never closed, in case of DB it
needs to be closed otherwise datafile can be corrupted.
I am thinking to make it more generic, to add Ns_ModuleShutdown call to
the modules and if defined,
zvpb:~/sf/naviserver/nsd zoran$ diff -u cache.c.1.7 cache.c.1.8
--- cache.c.1.7 2006-05-01 10:07:00.0 +0200
+++ cache.c.1.8 2006-04-19 18:21:18.0 +0200
@@ -36,7 +36,7 @@
#include "nsd.h"
-NS_RCSID("@(#) $Header: /cvsroot/naviserver/naviserver/nsd/cache.c,v
1.7 2006/04/15 21:14:57