Skip to content

nginx -T not display full in some case? #2469

@akf00000

Description

@akf00000

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions