cloudflare / lua-resty-cookie

Lua library for HTTP cookie manipulations for OpenResty/ngx_lua
347 stars 160 forks source link

why there is a decrease for `j` ? #21

Open fankeke opened 7 years ago

fankeke commented 7 years ago

https://github.com/cloudflare/lua-resty-cookie/blob/master/lib/resty/cookie.lua#L87

I test for many case, if no j = j - 1 , it will work well .

so why should decrease for this ? any special case for cookie ?

thanks .