Module: kamailio Branch: master Commit: 5b4506b2b11600f9678a32a4b9f49a7aef837d94 URL: https://github.com/kamailio/kamailio/commit/5b4506b2b11600f9678a32a4b9f49a7a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/5b4506b2b11600f9678a32a4b9f49a7a... Patch: https://github.com/kamailio/kamailio/commit/5b4506b2b11600f9678a32a4b9f49a7a...
---
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)