Xiaochen Wang
Xiaochen Wang
hi @g0ddest I think this problem has been fixed in the latest nginx_tcp_proxy_module git master, you tcan ry the latest git master and verify it.
hi @gugansankar Geo module is a http module, it cannot work in tcp module.
@dopilas 以rr算法为例子,参考如下callgraph: ``` ngx_tcp_upstream_connect -> ngx_event_connect_peer -> ngx_tcp_upstream_get_round_robin_peer (pc->get) ``` ngx_tcp_upstream_get_round_robin_peer会选取出upstream peer
tcp模块完全不解析连接上数据内容,只能根据listen的ip和port来区分连接,进而根据不同ip:port server{}下的配置来工作。 如下配置是无效,因为连接进入的时候没法区分到底要走哪个server{}的逻辑: ``` server { listen 80; proxy_pass 127.0.0.1:81; } server { listen 80; proxy_pass 127.0.0.1:82; } ``` 如下配置是有效的,这里用`IP:PORT`二元组可以区分出不同的server{}逻辑 ``` server { listen 192.168.1.1:80; # eth0 ip proxy_pass 127.0.0.1:81;...
The request from ur command curl is http request. This request is not handled by this module. It is handled by original nginx module( http & http auth). Because ur...
Yea,this is a legacy. This module "borrows" client_body_timeout directive currently, we should add new directive for `proxy_connect_client_{read|write}_timeout` instead.
similar to another issue: https://github.com/chobits/ngx_http_proxy_connect_module/issues/177#issuecomment-774150511
think it resolved. feel free to reopen if u still have the same problem
Link to #175. Similar issue. I have understood the problem, but I need to consider how to set right timer and some new instructions or variables. Here, the timer setting...
I doest not reproduce this problem for nginx-1.21.1. I guess you patch twice the patch file to nginx source. You can re-download nginx-1.21.1 source, and patch it with this patch:...