zeek/scripts/base/protocols/conn/__load__.zeek
Jon Siwek 05cf511f18 GH-1119: add base/protcols/conn/removal-hooks.zeek
This adds two new functions: `Conn::register_removal_hook()` and
`Conn::unregister_removal_hook()` for registering a hook function to be
called back during `connection_state_remove`.  The benefit of using hook
callback approach is better scalability: the overhead of unrelated
protocols having to dispatch no-op `connection_state_remove` handlers is
avoided.
2020-09-11 12:12:10 -07:00

6 lines
106 B
Text

@load ./main
@load ./contents
@load ./inactivity
@load ./polling
@load ./thresholds
@load ./removal-hooks