Module: kamailio
Branch: master
Commit: 007f98692bb6f7cb35adbb86ec6fb06f034614cc
URL:
https://github.com/kamailio/kamailio/commit/007f98692bb6f7cb35adbb86ec6fb06…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: GitHub <noreply(a)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/007f98692bb6f7cb35adbb86ec6fb06…
Patch:
https://github.com/kamailio/kamailio/commit/007f98692bb6f7cb35adbb86ec6fb06…
---
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) {