Ver Fonte

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

Daniel-Constantin Mierla há 10 anos atrás
pai
commit
6a9c892fd0
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      modules/dialog/dlg_handlers.c

+ 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;