TyrantLucifer / ssr-command-client

:airplane:The commend client of ssr based Python3
Apache License 2.0
978 stars 240 forks source link

http代理不能正常访问 #86

Closed linkaka970105 closed 1 year ago

linkaka970105 commented 1 year ago

开启http代理后,linux terminal配置了相应的http代理,通过curl http://www.google.com 测试,返回错误“file not found, 请输入正确的url%”,看了源代码,不太理解def __deal_request函数下f = open(ret[1:], "rb")的打开文件的操作是想做什么,根据请求切分后的路径打开文件,这个文件大概率不存在呀,作为http代理不是帮忙代理转发相应的请求,然后将请求结果返回就好了吗,大佬有空的话帮忙解答下哈

oonexdl commented 1 year ago

image 类似的问题,我这边返回 HTTP code 404

TyrantLucifer commented 1 year ago

Do not support http proxy. Only socks5 proxy