Browse code

core: tcp - pass updated recv info to receive_msg() inside hep3_process_msg()

- based on GH #1379
- credits for troubleshooting and initial patch submission to
Amit Zigelman <amit.zigelman@vonage.com>

Daniel-Constantin Mierla authored on 20/12/2017 18:42:10
Showing 1 changed files
... ...
@@ -1336,7 +1336,7 @@ static int hep3_process_msg(char* tcpbuf, unsigned int len,
1336 1336
 		return -1;
1337 1337
 	}
1338 1338
 
1339
-	ret = receive_msg(msg.buf, msg.len, rcv_info);
1339
+	ret = receive_msg(msg.buf, msg.len, &msg.rcv);
1340 1340
 	LM_DBG("running hep3-enclosed sip request route returned %d\n", ret);
1341 1341
 	free_sip_msg(&msg);
1342 1342