We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa5a2fb commit 2b32a34Copy full SHA for 2b32a34
1 file changed
waf.lua
@@ -37,7 +37,6 @@ 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
@@ -46,7 +45,8 @@ elseif PostCheck then
46
45
if less < chunk_size then
47
chunk_size = less
48
49
- end
+ end
+ ngx.req.finish_body()
50
else
51
ngx.req.read_body()
52
local args = ngx.req.get_post_args()
0 commit comments