[sr-dev] git:5.4:0cf30ae1: core: don't close tcp connection for dropped non sip messages
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jul 16 17:31:22 CEST 2020
Module: kamailio
Branch: 5.4
Commit: 0cf30ae1c4128bca8882109ec34c34a2dd2b4cef
URL: https://github.com/kamailio/kamailio/commit/0cf30ae1c4128bca8882109ec34c34a2dd2b4cef
Author: lazedo <luis.azedo at factorlusitano.com>
Committer: Daniel-Constantin Mierla <miconda at 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/0cf30ae1c4128bca8882109ec34c34a2dd2b4cef.diff
Patch: https://github.com/kamailio/kamailio/commit/0cf30ae1c4128bca8882109ec34c34a2dd2b4cef.patch
---
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) {
More information about the sr-dev
mailing list