Results 22 issues of fankeke

when I use gdb to debug kernel , I step by step to the init task (task 1) and good . but when I set breakpoint in init function (well,it's...

hello I'm a nginx new learner,recently I read you tcp_proxy module for ngx,bu I have some questions. ONE:what's the difference between the ngx_http_proxy_module and this module(tcp_proxy)? I konw it would...

hello: 读了整个代码,发现各个节点健康检查的状态只是存放到了state dict中, 除了get_status这个API将健康状况展示之外,在做流量转发的时候,并没有使用到这些状态。 是我没看到么?try_cluster选节点的时候貌似也没有涉及到健康状态。 谢谢。

hello,请教下: 1 为何创建check timer要用lock的方式而不是用ngx.worker.id的方式来创建唯一timer?是有什么特殊的考虑吗? 2 在lock方式中(目前的方式),base.CHECKUP_TIMER_KEY在设置到mutex shdict中时为何要设置超时时间?(默认60s) , 谢谢

eg: shm:set() / shm:get() in every request lifetime.

Looks like only support domain connect mode for now? how to support ipv4 mode ? ``` buf[0] = NGX_HTTP_SOCKS_VERSION; buf[1] = NGX_HTTP_SOCKS_CMD_CONNECT; buf[2] = NGX_HTTP_SOCKS_RESERVED; //buf[3] = NGX_HTTP_SOCKS_ADDR_DOMAIN_NAME; buf[3] =...

hello 1 注意到在access阶段通过ngx.exec进行了内部跳转到静态文件的location @vn_static 看了下ngx_lua的wiki,ngx.exec不一定要是命名location才可以的,所以把@vn_static 换成了/vn_static 结果发现不能正常工作? 想问下,这里必须要是命名location么? 2 vn_exec_flag变量的置位,是因为用ngx.exec发起的请求r的变量没有变化,所以用这个标志来跳过access、rewrite等阶段是么?

question

he ,buddy, I read you code, it's good . but I have two question: 1, In recvall fun,you use select(.....,0.5) , so 0.5 s will be too slow for network,...