[sr-dev] git:master:007f9869: core: don't close tcp connection for dropped non sip messages

GitHub noreply at github.com
Tue Jul 14 10:07:04 CEST 2020


Module: kamailio
Branch: master
Commit: 007f98692bb6f7cb35adbb86ec6fb06f034614cc
URL: https://github.com/kamailio/kamailio/commit/007f98692bb6f7cb35adbb86ec6fb06f034614cc

Author: lazedo <luis.azedo at factorlusitano.com>
Committer: GitHub <noreply at github.com>
Date: 2020-07-13T13:01:43+01:00

core: don't close tcp connection for dropped non sip messages

---

Modified: src/core/receive.c

---

Diff:  https://github.com/kamailio/kamailio/commit/007f98692bb6f7cb35adbb86ec6fb06f034614cc.diff
Patch: https://github.com/kamailio/kamailio/commit/007f98692bb6f7cb35adbb86ec6fb06f034614cc.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