2
2
-- - main_config eval: $::main_conf
3
3
-- - config
4
4
aio threads= my_thread_pool;
5
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
5
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
6
6
location = /testLinkFunGreeting {
7
7
ngx_link_func_call " my_app_simple_get_greeting" ;
8
8
}
@@ -19,7 +19,7 @@ qr/greeting from ngx_link_func testing$/
19
19
-- - main_config eval: $::main_conf
20
20
-- - config
21
21
aio threads= my_thread_pool;
22
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
22
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
23
23
location = /testLinkFunARGS {
24
24
ngx_link_func_call " my_app_simple_get_args" ;
25
25
}
@@ -36,7 +36,7 @@ qr/greeting=hello_nginx\?id=129310923$/
36
36
-- - main_config eval: $::main_conf
37
37
-- - config
38
38
aio threads= my_thread_pool;
39
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
39
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
40
40
location = /testLinkFunPOSTBody {
41
41
ngx_link_func_call " my_app_simple_post" ;
42
42
}
54
54
-- - main_config eval: $::main_conf
55
55
-- - config
56
56
aio threads= my_thread_pool;
57
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
57
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
58
58
location = /testLinkFunCVerifyToken {
59
59
ngx_link_func_call " my_app_simple_get_token_args" ;
60
60
}
@@ -71,7 +71,7 @@ qr/QVNKS0pDQVNLTEpDS0xBU0pXbGtlandrbGplIGpka2FqbGthc2tsZGtqbHNrICBrZGpha2xzZGphc
71
71
-- - main_config eval: $::main_conf
72
72
-- - config
73
73
aio threads= my_thread_pool;
74
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
74
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
75
75
location = /testLinkFuncERRORRESP {
76
76
error_log / dev/ null;
77
77
ngx_link_func_call " my_app_simple_get_no_resp" ;
@@ -87,7 +87,7 @@ Content-Type: text/html
87
87
-- - main_config eval: $::main_conf
88
88
-- - config
89
89
aio threads= my_thread_pool;
90
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
90
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
91
91
location = /testLinkFuncCallocFromPool {
92
92
ngx_link_func_call " my_app_simple_get_calloc_from_pool" ;
93
93
}
@@ -104,7 +104,7 @@ qr/This is the message calloc from pool$/
104
104
-- - main_config eval: $::main_conf
105
105
-- - config
106
106
aio threads= my_thread_pool;
107
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
107
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
108
108
location = /testLinkFunPOSTBody {
109
109
ngx_link_func_call " my_app_simple_post" ;
110
110
}
@@ -122,7 +122,7 @@ qr/greeting=enjoy-http-link-function-testing$/
122
122
-- - main_config eval: $::main_conf
123
123
-- - config
124
124
aio threads= my_thread_pool;
125
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
125
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
126
126
location = /testLinkFunGetCache {
127
127
ngx_link_func_call " my_app_simple_get_cache" ;
128
128
}
@@ -139,7 +139,7 @@ location = /testLinkFunSetCache {
139
139
-- - main_config eval: $::main_conf
140
140
-- - config
141
141
aio threads= my_thread_pool;
142
- ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH/liblinkfuntest.so " ;
142
+ ngx_link_func_lib " NGINX_HTTP_LINK_FUNC_TEST_LIB_PATH" ;
143
143
location = /ext_header_foo {
144
144
ngx_link_func_call " my_simple_extra_foo_header_output" ;
145
145
}
0 commit comments