Browse code

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

(cherry picked from commit 007f98692bb6f7cb35adbb86ec6fb06f034614cc)

lazedo authored on 13/07/2020 12:01:43 • Daniel-Constantin Mierla committed on 16/07/2020 15:31:06
Showing 1 changed files
... ...
@@ -300,7 +300,7 @@ int receive_msg(char *buf, unsigned int len, receive_info_t *rcv_info)
300 300
 			LM_DBG("attempt of nonsip message processing failed\n");
301 301
 		} else if(ret == NONSIP_MSG_DROP) {
302 302
 			LM_DBG("nonsip message processing completed\n");
303
-			goto error02;
303
+			goto end;
304 304
 		}
305 305
 	}
306 306
 	if(errsipmsg==1) {