Module: kamailio
Branch: 5.4
Commit: 0cf30ae1c4128bca8882109ec34c34a2dd2b4cef
URL:
https://github.com/kamailio/kamailio/commit/0cf30ae1c4128bca8882109ec34c34a…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-07-16T17:31:06+02:00
core: don't close tcp connection for dropped non sip messages
(cherry picked from commit 007f98692bb6f7cb35adbb86ec6fb06f034614cc)
---
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0cf30ae1c4128bca8882109ec34c34a…
Patch:
https://github.com/kamailio/kamailio/commit/0cf30ae1c4128bca8882109ec34c34a…
---
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) {