[sr-dev] git:master:8ff02413: http_async_client: $http_req returns $null when read

Camille Oudot camille.oudot at orange.com
Tue Feb 16 10:38:51 CET 2016


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

Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at orange.com>
Date: 2016-02-16T10:39:08+01:00

http_async_client: $http_req returns $null when read

---

Modified: modules/http_async_client/http_async_client_mod.c

---

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

---

diff --git a/modules/http_async_client/http_async_client_mod.c b/modules/http_async_client/http_async_client_mod.c
index 0bd51a4..20d953a 100644
--- a/modules/http_async_client/http_async_client_mod.c
+++ b/modules/http_async_client/http_async_client_mod.c
@@ -206,7 +206,7 @@ static pv_export_t pvs[] = {
 		PVT_OTHER, ah_get_err, 0,
 		0, 0, 0, 0},
 	{STR_STATIC_INIT("http_req"),
-		PVT_OTHER, 0, ah_set_req,
+		PVT_OTHER, pv_get_null, ah_set_req,
 		ah_parse_req_name, 0, 0, 0},
 	{ {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
 };




More information about the sr-dev mailing list