We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 429417c commit b977ceeCopy full SHA for b977cee
src/ngx_stream_lua_worker.c
@@ -106,7 +106,7 @@ ngx_stream_lua_ffi_get_process_type(void)
106
107
108
int
109
-ngx_stream_lua_ffi_enable_privileged_agent(char **err)
+ngx_stream_lua_ffi_enable_privileged_agent(char **err, unsigned int connections)
110
{
111
#ifdef HAVE_PRIVILEGED_PROCESS_PATCH
112
ngx_core_conf_t *ccf;
@@ -115,6 +115,7 @@ ngx_stream_lua_ffi_enable_privileged_agent(char **err)
115
ngx_core_module);
116
117
ccf->privileged_agent = 1;
118
+ ccf->privileged_agent_connections = connections;
119
120
return NGX_OK;
121
0 commit comments