Module: kamailio
Branch: master
Commit: db61ed942fa4caf33e8fd44219f082632d3faee0
URL:
https://github.com/kamailio/kamailio/commit/db61ed942fa4caf33e8fd44219f0826…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2020-07-14T10:06:58+02:00
Merge pull request #2396 from kamailio/lazedo-patch-1
core: don't close tcp connection for dropped non sip messages
---
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/db61ed942fa4caf33e8fd44219f0826…
Patch:
https://github.com/kamailio/kamailio/commit/db61ed942fa4caf33e8fd44219f0826…
---
diff --git a/src/core/receive.c b/src/core/receive.c
index a76fd14519..42f5382bbe 100644
--- a/src/core/receive.c
+++ b/src/core/receive.c
@@ -300,7 +300,7 @@ int receive_msg(char *buf, unsigned int len, receive_info_t
*rcv_info)
LM_DBG("attempt of nonsip message processing failed\n");
} else if(ret == NONSIP_MSG_DROP) {
LM_DBG("nonsip message processing completed\n");
- goto error02;
+ goto end;
}
}
if(errsipmsg==1) {