Pending - build 143
+-- enable active for react / reject only if used in configuration
-- fixed use of bound ip and tcp policy if not set in hosts
-- eliminate dedicated nhttp chunk buffer
-- minor nhttp cleanup in StreamSplitter
rd->rule_msg = m->msg;
react_config(rd); // FIXIT-L this must be done per response
+ Active_SetEnabled(1);
return new ReactAction(rd);
}
delete p;
}
-static void react_pinit()
-{
- Active_SetEnabled(1);
-}
-
static const ActionApi react_api =
{
{
mod_dtor
},
RULE_TYPE__DROP,
- react_pinit,
+ nullptr, // pinit
nullptr, // pterm
nullptr, // tinit
nullptr, // tterm
static IpsAction* rej_ctor(Module* p)
{
RejectModule* m = (RejectModule*)p;
+ Active_SetEnabled(1);
return new RejectAction(m->flags);
}
delete p;
}
-static void rej_ginit()
-{
- Active_SetEnabled(1);
-}
-
static const ActionApi rej_api =
{
{
mod_dtor
},
RULE_TYPE__DROP,
- rej_ginit,
+ nullptr,
nullptr,
nullptr,
nullptr,