parent
aa5a2fbdbd
commit
2b32a34dfc
2
waf.lua
2
waf.lua
|
@ -37,7 +37,6 @@ elseif PostCheck then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
ngx.req.append_body(data)
|
ngx.req.append_body(data)
|
||||||
gx.req.finish_body()
|
|
||||||
if body(data) then
|
if body(data) then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
@ -47,6 +46,7 @@ elseif PostCheck then
|
||||||
chunk_size = less
|
chunk_size = less
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
ngx.req.finish_body()
|
||||||
else
|
else
|
||||||
ngx.req.read_body()
|
ngx.req.read_body()
|
||||||
local args = ngx.req.get_post_args()
|
local args = ngx.req.get_post_args()
|
||||||
|
|
Loading…
Reference in New Issue