lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

nginx -T not display full in some case?

Open akf00000 opened this issue 1 month ago • 1 comments

in ngx_http_lua_directive.c:1876,is need add dump? like this:

            b->pos = b->start + len;
            b->last = b->pos + n;
            start = b->start;

+ #if (nginx_version >= 1009002)
+             if (dump) {
+                dump->last = ngx_cpymem(dump->last, b->start + len, size);
+             }
+ #endif

            continue;

akf00000 avatar Nov 19 '25 09:11 akf00000

PR is welcomed. The test cases are also needed.

zhuizhuhaomeng avatar Nov 20 '25 11:11 zhuizhuhaomeng