Module: kamailio
Branch: master
Commit: ef28b61db70d32036ae6fdce72de7f8de94d3370
URL:
https://github.com/kamailio/kamailio/commit/ef28b61db70d32036ae6fdce72de7f8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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(a)vonage.com>
---
Modified: src/core/tcp_read.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ef28b61db70d32036ae6fdce72de7f8…
Patch:
https://github.com/kamailio/kamailio/commit/ef28b61db70d32036ae6fdce72de7f8…
---
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);