Module: kamailio
Branch: master
Commit: 10012eeb17210ea7eb9549dc71be5af7e92b4a97
URL: 
https://github.com/kamailio/kamailio/commit/10012eeb17210ea7eb9549dc71be5af7e92b4a97

Author: Stefan Mititelu <stefan.mitit...@net2phone.com>
Committer: Victor Seva <linuxman...@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/10012eeb17210ea7eb9549dc71be5af7e92b4a97.diff
Patch: 
https://github.com/kamailio/kamailio/commit/10012eeb17210ea7eb9549dc71be5af7e92b4a97.patch

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to