Xiaochen Wang

Results 223 comments of Xiaochen Wang

You can check [$connect_host](https://github.com/chobits/ngx_http_proxy_connect_module#connect_host) and [$request_method](https://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_method) variable to block CONNECT request before establishing CONNECT tunnel to upstream. But you cannot check data flow in established CONNECT tunnel.

1. Maybe as following ( nginx original configuration), have not actually tested it: ``` if ("$connect_host::$request_method" == "google.com::CONNECT") { # nginx doest not support "and" operation in its if-stmt. return...

think it resolved. feel free to reopen if u still have the same problem

Maybe it failed before running 'connecting upstream' phase, you can post the whole log message here to let us check.

这个模块实际是一个tcp代理。无法在交互(被代理的)数据中 检索或者插入(读、些)数据。 唯一能改变的只是第一次建立隧道时候那个CONNECT请求的应答数据,如果你想改这个可以参考,注意这里任何更改对后续实际代理数据传输没有影响:https://github.com/chobits/ngx_http_proxy_connect_module/blob/master/t/http_proxy_connect_lua.t#L90

Out of date, if you still have same problem with latest version, you can open a new issue

If you wanna CONNECT tunnel to connect your specified squid server, you can use this directive to specify proxied server: `proxy_connect_address`. See its doc: https://github.com/chobits/ngx_http_proxy_connect_module#proxy_connect_address. If your case is just...

Link to https://github.com/chobits/ngx_http_proxy_connect_module/issues/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...

Hi, These error means `xxxproxy_connectxxx.patch` are not patched to nginx source, make sure you have patched the right patch before building the nginx source. The patch will add new macro...

think it resolved. feel free to reopen if u still have the same problem