mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #153] 能否强制使用代理? #85
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maxadd on GitHub (Sep 29, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/153
我使用了三级代理,客户端会将请求发送给一级代理,一级代理给二级,二级给三级。搭建完成后,测试了下整个链路是通的。但是某些时候在一级和二级上总会出现
use proxy: false,然后它自己处理请求,而没有将请求发送给上级代理,而我用 telnet 命令测试访问上级代理的端口没有问题。我看了下 proxy 命令也没有强制使用代理的选项,请问有啥办法么?一级代理的启动命令为:
二级为:
一级代理的日志为:
而且我在客户端访问 www.google.com 的时候在一级代理上抓包,发现它并没有发送请求到二级代理。
@snail007 commented on GitHub (Sep 29, 2018):
你就不能仔细看手册吗!
https://github.com/snail007/goproxy/blob/master/README_ZH.md#16http代理流量强制走上级http代理
@maxadd commented on GitHub (Sep 29, 2018):
抱歉抱歉,看的时候确实没有留意这个。真是感谢大佬,提供了这么优秀的产品。