goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

--jumper 无法对 direct 生效

Open pinghe opened this issue 4 years ago • 2 comments

当加载了 direct 时,如果配置了 --jumper,当访问 direct 文件中的网站时,jumper 参数未生效。

pinghe avatar May 11 '20 08:05 pinghe

你这句话就是矛盾的,direct就是proxy直接访问,用jumper就不是直接访问了。

snail007 avatar May 11 '20 08:05 snail007

应该是一个新功能,期望配置某些网站,只经过本级代理,不经过下一级代理,如果配置了jumper参数,则这些网站经过jumper参数访问。确实和direct有区别。

有一个网站 A,通过二级代理访问 A 时,二级代理到一级代理和A,需要通过jumper才能通。

无 direct 二级代理 --(jumper)--> 一级代理 -->A

有 direct 二级代理 --(jumper未生效,不通)--> A

期望是 二级代理 --(jumper生效)--> A

pinghe avatar May 11 '20 11:05 pinghe