在windows版openresty可以启动process.enable_privileged_agent()吗?
按示例代码在windows 启动privileged_agent进程,日志提示启动成功,实际是没有启动
local process = require "ngx.process"
local ok, err = process.enable_privileged_agent()
if ok then
log.debug(process.type()," enables privileged agent :",ok)
else
log.error("enables privileged agent failed error:", err)
end
日志:
[debug] 18480#22744: [lua] ngx_init.lua:30: master enables privileged agent :true