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

Author: lazedo <[email protected]>
Committer: GitHub <[email protected]>
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) {


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to