Adding multithreaded example from issue #3054 (by airween)

- Rewritten to use C++ libModSecurity API and std::thread (instead of
  pthreads)
This commit is contained in:
Eduardo Arias
2024-08-09 10:56:36 -07:00
parent 293cd214c7
commit 4bf9616f9e
8 changed files with 144 additions and 0 deletions

1
.gitignore vendored
View File

@@ -50,6 +50,7 @@ ltmain.sh
examples/simple_example_using_c/test
/tools/rules-check/modsec-rules-check
examples/multiprocess_c/multi
examples/multithread/multithread
examples/reading_logs_via_rule_message/simple_request
examples/reading_logs_with_offset/read
examples/using_bodies_in_chunks/simple_request