Module: kamailio
Branch: master
Commit: 5b4506b2b11600f9678a32a4b9f49a7aef837d94
URL:
https://github.com/kamailio/kamailio/commit/5b4506b2b11600f9678a32a4b9f49a7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-02-14T14:10:43+01:00
core: async task - do not close sockets for sip worker processes
---
Modified: src/core/async_task.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5b4506b2b11600f9678a32a4b9f49a7…
Patch:
https://github.com/kamailio/kamailio/commit/5b4506b2b11600f9678a32a4b9f49a7…
---
diff --git a/src/core/async_task.c b/src/core/async_task.c
index 99e04dd989..b64e071a11 100644
--- a/src/core/async_task.c
+++ b/src/core/async_task.c
@@ -186,7 +186,8 @@ int async_task_child_init(int rank)
}
if(rank>0) {
- async_task_close_sockets_parent();
+ /* no need to close the socket from sip workers */
+ /* async_task_close_sockets_parent(); */
return 0;
}
if (rank!=PROC_MAIN)