Hi~
I use the lua-resty-ntlm master branch and find that it generated stack tracebak:
2022/09/01 19:45:01 [error] 25011#0: anyuid: waf.centos62.wangchengcheng.test.vmware-25011-688157189-110-15 lua entry thread aborted: runtime error: ********/lualib/resty/ntlm.lua:72: bad argument #1 to 'sub' (string expected, got nil)
242 stack traceback:
243 coroutine 0:
244 [C]: in function 'sub'
245 ********/lualib/resty/ntlm.lua:72: in function 'parselen'
246 ********/lualib/resty/ntlm.lua:204: in function 'ntlm_transaction'
247 ********/lualib/resty/ntlm.lua:241: in function 'negotiate'
248 ********/lua/some_test.lua:8: in function 'test_ntlm'
Hi~ I use the
lua-resty-ntlm
master branch and find that it generated stack tracebak: