We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c43635 commit aa5a2fbCopy full SHA for aa5a2fb
1 file changed
waf.lua
@@ -37,16 +37,16 @@ elseif PostCheck then
37
return
38
end
39
ngx.req.append_body(data)
40
+ gx.req.finish_body()
41
+ if body(data) then
42
+ return true
43
+ end
44
size = size + len(data)
45
local less = content_length - size
46
if less < chunk_size then
47
chunk_size = less
48
49
- ngx.req.finish_body()
- if body(data) then
- return true
- end
50
else
51
ngx.req.read_body()
52
local args = ngx.req.get_post_args()
0 commit comments