2
0
Эх сурвалжийг харах

dialog: mark slot as lock if dialog found in state deleted for spiral detection

Daniel-Constantin Mierla 10 жил өмнө
parent
commit
6a9c892fd0

+ 1 - 0
modules/dialog/dlg_handlers.c

@@ -823,6 +823,7 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int run_initial_cbs)
 		}
 		/* lock the slot - dlg found, but in dlg_state_deleted, do a new one */
 		dlg_hash_lock(&callid);
+		mlock = 1;
     }
     spiral_detected = 0;