Module: kamailio
Branch: master
Commit: fb115679228b19944f886893b47743db44465072
URL:
https://github.com/kamailio/kamailio/commit/fb115679228b19944f886893b47743d…
Author: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Committer: Nacho Garcia Segovia <nacho.gs(a)zaleos.net>
Date: 2020-09-14T13:18:37+02:00
keepalive: prevent race condition when deleting a destination
- Added a lock to ka_dest type, so we get it when we run callbacks that may be associated
to an OPTIONS response
- Same lock is used to not remove destinations that are running callbacks
- Now find destinations consider owner and uri
---
Modified: src/modules/keepalive/keepalive.h
Modified: src/modules/keepalive/keepalive_api.c
Modified: src/modules/keepalive/keepalive_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/fb115679228b19944f886893b47743d…
Patch:
https://github.com/kamailio/kamailio/commit/fb115679228b19944f886893b47743d…