Module: kamailio
Branch: master
Commit: ecea36c6281c60888b2273a046b8937858cd2f7b
URL:
https://github.com/kamailio/kamailio/commit/ecea36c6281c60888b2273a046b8937…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-11-26T09:50:00+01:00
sworker: set the internal received flag
---
Modified: src/modules/sworker/sworker_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ecea36c6281c60888b2273a046b8937…
Patch:
https://github.com/kamailio/kamailio/commit/ecea36c6281c60888b2273a046b8937…
---
diff --git a/src/modules/sworker/sworker_mod.c b/src/modules/sworker/sworker_mod.c
index 06762cdbe5..bf3782e5cb 100644
--- a/src/modules/sworker/sworker_mod.c
+++ b/src/modules/sworker/sworker_mod.c
@@ -122,6 +122,7 @@ void sworker_exec_task(void *param)
memcpy(buf, stp->buf, stp->len);
len = stp->len;
memcpy(&rcvi, &stp->rcv, sizeof(receive_info_t));
+ rcvi.rflags |= RECV_F_INTERNAL;
_sworker_active = 1;
receive_msg(buf, len, &rcvi);