Module: kamailio Branch: master Commit: 10012eeb17210ea7eb9549dc71be5af7e92b4a97 URL: https://github.com/kamailio/kamailio/commit/10012eeb17210ea7eb9549dc71be5af7...
Author: Stefan Mititelu stefan.mititelu@net2phone.com Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2025-02-17T16:20:41+01:00
kafka: Fix mod_destroy() crash
A crash happened on mod_destroy() due to librdkafka thrd_join(), in case of multiple restarts, in case of ssl kafka connection.
Init kafka only for timer and routing processes. Add checks for rk pointer.
---
Modified: src/modules/kafka/kafka_mod.c Modified: src/modules/kafka/kfk.c
---
Diff: https://github.com/kamailio/kamailio/commit/10012eeb17210ea7eb9549dc71be5af7... Patch: https://github.com/kamailio/kamailio/commit/10012eeb17210ea7eb9549dc71be5af7...