Module: kamailio
Branch: 5.1
Commit: 3a3dab1f62f196bb44e39fc88fb74310431358c1
URL:
https://github.com/kamailio/kamailio/commit/3a3dab1f62f196bb44e39fc88fb7431…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-20T19:46:14+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(a)vonage.com>
(cherry picked from commit ef28b61db70d32036ae6fdce72de7f8de94d3370)
---
Modified: src/core/tcp_read.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3a3dab1f62f196bb44e39fc88fb7431…
Patch:
https://github.com/kamailio/kamailio/commit/3a3dab1f62f196bb44e39fc88fb7431…
---
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);