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

Author: Camille Oudot <[email protected]>
Committer: Camille Oudot <[email protected]>
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 }
 };


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to