mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
![]() It is not safe to use the same socket from different threads, but the current code used the xsub socket directly from the main thread (to setup subscriptions) and from the internal thread for polling and reading. Leverage the PAIR socket already in use for forwarding publish operations to the internal thread also for subscribe and unsubscribe. The failure mode is/was a bit annoying. Essentially, closing of the context would hang indefinitely in zmq_ctx_term(). |
||
---|---|---|
.. | ||
base | ||
policy | ||
site | ||
spicy | ||
zeekygen | ||
CMakeLists.txt | ||
test-all-policy.zeek |