]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: unify delayed detect and reload
authorVictor Julien <victor@inliniac.net>
Mon, 19 Jan 2015 11:08:55 +0000 (12:08 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 19 Mar 2015 16:52:31 +0000 (17:52 +0100)
commitb0cb4c17ec3e31f53051b5bf6223aaaf45529c4d
tree5231dc1c2f4a11285cd536c6d112c33bd9c94f6b
parent38b349af1e8c3e1b85dcb5ba2708ceb7f164f402
detect: unify delayed detect and reload

Instead of threading logic with dummy slots and all, use the regular
reload logic for delayed detect.

This means we pass a empty detect engine to the threads and then
reload (live swap) it as soon as the engine is running.
src/detect.h
src/suricata.c
src/unix-manager.c