RocFang
RocFang
知道 @Koihik 是中国人,为了表达清楚意思,这里冒昧用中文哈,感谢您的这个项目。 有时候我们为了美观,会把一个 table 写成这样子: ```lua local a = { a = "a", b = "b" } ``` 但是如果元素只有一个时,LuaFormatter 会强制将其压缩成一行变成: ```lua local a = {a = "a"} ``` 这么做当然是合理的,但有时候,我们这个table是框架中的钩子函数挂载表,很多个文件里都会有这个表,表里的...
https://github.com/haoel/leetcode/blob/master/src/sortList/sortList.cpp return mergeTwoLists(sortList(head), sortList(p2));
Hello @yzprofile , This is a leak for a long time, see https://github.com/yzprofile/ngx_http_dyups_module/issues/67 and https://groups.google.com/forum/#!searchin/OpenResty/ngx_http_dyups_module%7Csort:date/openresty/C_rnBilveJM/AzyC-Q_3AgAJ please have a look, thanks.
https://github.com/moonbingbing/openresty-best-practices/blob/master/ngx_lua/lua-variable-scope.md 在这一节里,提到: ```lua init_worker_by_lua_block { local delay = 5 local handler handler = function() counter = counter or 0 counter = counter + 1 ngx.log(ngx.ERR, counter) local ok, err =...
Hello! @spacewander Since https://hg.nginx.org/nginx/rev/d16ba0ea3434 , Subrequests of slice module will bypass phases which come before content handler, and may trigger some confusing behaviors for some dynamic settiings, especialy proxy settings....