You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugfix: the "light thread" object created by ngx.thread.spawn() might… … be prematurely collected by the Lua GC because we did not correctly register its coroutine object into the Lua regsitry table. this bug may crash the Lua VM and nginx workers under load. thanks Zhu Dejiang for reporting this issue.
bugfix: ngx.thread.wait() might hang infinitely when more than 4 user… … "light threads" are created in the same request handler due to the incorrect use of ngx_array_t for ngx_list_t. thanks Junwei Shi for reporting this issue.
bugfix: ngx.re.gsub() might throw out the "attempt to call a string v… …alue" exception when the "replace" argument is a Lua function and the subject string is large. thanks Zhu Maohai for reporting this issue.
docs: documented the new ngx.thread API. also fixed the __newindex me… …tamethod definition for catching writes to undeclared global varaibles in a Lua module.