ngx.header['Set-Cookie'] = {'a=1','b=2'}
比如我想了解ngx.header['Set-Cookie'] = {'a=1','b=2'}这个过程究竟发生了什么. 但是我不知道相关源码在哪里. --
想要理解这个,需要先知道 lua C api 的工作原理,大概的代码入口:https://github.com/openresty/lua-nginx-module/blob/master/src/ngx_http_lua_headers.c#L932https://github.com/openresty/lua-nginx-module/blob/master/src/ngx_http_lua_headers.c#L648On Tue, Jul 5, 2016 at 1:14 PM, 项楠 <xiang...@gmail.com> wrote:比如我想了解ngx.header['Set-Cookie'] = {'a=1','b=2'}这个过程究竟发生了什么. 但是我不知道相关源码在哪里. -- -- - - - - - - - - - - - -林青(Kindy Lin)