hello,
we encountered this error when our API is being invoked from another service.
[error] 4127072#0: *607623 lua entry thread aborted: runtime error: /www/server/free_waf/init.lua:587: attempt to compare number with nil
stack traceback:
coroutine 0:
/www/server/free_waf/init.lua: in function 'post'
/www/server/free_waf/init.lua:931: in function 'run_btwaf'
/www/server/free_waf/waf.lua:1: in main
we noticed that there was no null check on content_length thus causing this issue. Hope we can have a fix on the next update.
Thanks!