File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ qr/\[TRACE \d+ content_by_lua\(nginx\.conf:\d+\):4 loop\]/
270
270
--- config
271
271
location = /re {
272
272
access_log off;
273
- content_by_lua '
273
+ content_by_lua_block {
274
274
-- ngx.re.opt("jit_stack_size", 128 * 1024)
275
275
local from, to, err
276
276
local find = ngx.re.find
@@ -289,7 +289,7 @@ qr/\[TRACE \d+ content_by_lua\(nginx\.conf:\d+\):4 loop\]/
289
289
ngx.say("from: ", from)
290
290
ngx.say("to: ", to)
291
291
ngx.say("matched: ", string.sub(s, from, to))
292
- ';
292
+ }
293
293
}
294
294
--- request
295
295
GET /re
@@ -310,7 +310,7 @@ bad argument type
310
310
--- config
311
311
location = /re {
312
312
access_log off;
313
- content_by_lua '
313
+ content_by_lua_block {
314
314
-- ngx.re.opt("jit_stack_size", 128 * 1024)
315
315
local from, to, err
316
316
local find = ngx.re.find
@@ -329,7 +329,7 @@ bad argument type
329
329
ngx.say("from: ", from)
330
330
ngx.say("to: ", to)
331
331
ngx.say("matched: ", string.sub(s, from, to))
332
- ';
332
+ }
333
333
}
334
334
--- request
335
335
GET /re
You can’t perform that action at this time.
0 commit comments