[sr-dev] git:master:ef28b61d: core: tcp - pass updated recv info to receive_msg() inside hep3_process_msg()

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 20 19:45:50 CET 2017


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-12-20T19:42:10+01:00

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 at vonage.com>

---

Modified: src/core/tcp_read.c

---

Diff:  https://github.com/kamailio/kamailio/commit/ef28b61db70d32036ae6fdce72de7f8de94d3370.diff
Patch: https://github.com/kamailio/kamailio/commit/ef28b61db70d32036ae6fdce72de7f8de94d3370.patch

---

diff --git a/src/core/tcp_read.c b/src/core/tcp_read.c
index 8fb371bd9d..52935ccb78 100644
--- a/src/core/tcp_read.c
+++ b/src/core/tcp_read.c
@@ -1336,7 +1336,7 @@ static int hep3_process_msg(char* tcpbuf, unsigned int len,
 		return -1;
 	}
 
-	ret = receive_msg(msg.buf, msg.len, rcv_info);
+	ret = receive_msg(msg.buf, msg.len, &msg.rcv);
 	LM_DBG("running hep3-enclosed sip request route returned %d\n", ret);
 	free_sip_msg(&msg);
 




More information about the sr-dev mailing list