瀏覽代碼

http_async_client: $http_req returns $null when read

Camille Oudot 9 年之前
父節點
當前提交
8ff0241345
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/http_async_client/http_async_client_mod.c

+ 1 - 1
modules/http_async_client/http_async_client_mod.c

@@ -206,7 +206,7 @@ static pv_export_t pvs[] = {
 		PVT_OTHER, ah_get_err, 0,
 		PVT_OTHER, ah_get_err, 0,
 		0, 0, 0, 0},
 		0, 0, 0, 0},
 	{STR_STATIC_INIT("http_req"),
 	{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},
 		ah_parse_req_name, 0, 0, 0},
 	{ {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
 	{ {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
 };
 };