@ -37,7 +37,6 @@ elseif PostCheck then
return
end
ngx.req.append_body(data)
gx.req.finish_body()
if body(data) then
return true
@ -47,6 +46,7 @@ elseif PostCheck then
chunk_size = less
ngx.req.finish_body()
else
ngx.req.read_body()
local args = ngx.req.get_post_args()