I am building some rate limit code in lua. And want at a point to just close the connection i dont want to send any data. no headers. personal i would like to not even send tcp fin just close it on my end of the kernel i was thinking setting ngx.ctx = nil would help but does not.
ngx.status = 444return ngx.exit(444)
Hello! On Mon, Jan 11, 2016 at 6:02 AM, Hamish Forbes wrote: > ngx.status = 444 > return ngx.exit(444) > > That should do it. > BTW, the assignment ngx.status = 444 is not really needed here for this particular usage IMHO :) Regards, -agentzh