]> git.ipfire.org Git - thirdparty/suricata.git/commit
source-pcap-file: Pcap File Init Failure Handling (#1694) 4530/head
authorDanny Browning <danny.browning@protectwise.com>
Mon, 18 Feb 2019 16:57:21 +0000 (09:57 -0700)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 11 Feb 2020 08:53:22 +0000 (14:23 +0530)
commit716189d6c9dc6b3fef454ad0d39f853e9bd30607
treeab8e5097587319f7d0a5441037c52405e99cb91b
parent1a2eba906b6ba8f1af0e607a2bb1269832bd68f5
source-pcap-file: Pcap File Init Failure Handling (#1694)

Better handle case where pcap file receive thread fails to initialize. Allow
initialize to complete, but terminate the thread quickly. Delay exiting
unix socket runmode as late as possible.

(cherry picked from commit c0ab45aa6fbe1a299facf45e34ba2bcb3d76ce75)
src/runmode-unix-socket.c
src/source-pcap-file-helper.c
src/source-pcap-file.c