Module: kamailio
Branch: master
Commit: 9d807d1d8af24c0163d3bb2ae876a87a8b637494
URL:
https://github.com/kamailio/kamailio/commit/9d807d1d8af24c0163d3bb2ae876a87…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-01T15:49:26+02:00
dialog: keep slot locked when searching for duplicate dialog
- when attempting to create a new dialog, the function searching to see
if it is already one with same attributes keeps the slot locked so is
no race in between the return of function and building the new dlg
structure
- if the dlg is found, release the lock after figuring out it is a
spiral or not
---
Modified: modules/dialog/dlg_handlers.c
Modified: modules/dialog/dlg_hash.c
Modified: modules/dialog/dlg_hash.h
---
Diff:
https://github.com/kamailio/kamailio/commit/9d807d1d8af24c0163d3bb2ae876a87…
Patch:
https://github.com/kamailio/kamailio/commit/9d807d1d8af24c0163d3bb2ae876a87…