Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] http outbound支持連接https與http/2代理服務器 #2491

Closed
darhwa opened this issue May 20, 2020 · 1 comment
Closed

Comments

@darhwa
Copy link
Contributor

darhwa commented May 20, 2020

目前的http outbound只能支持plain http/1.1。雖然配置文件名義上支持tls,但諷刺的是,tcp.Dial裏把alpn限定爲單有"h2",而http.Process又完全沒有支持h2的機制,造成http/1.1 over tls與h2都無法工作。

#2488 是爲解決這個問題。應用之後http outbound就可以連h2代理,比如帶forwardproxy插件的caddy。

@darhwa darhwa closed this as completed May 20, 2020
@darhwa darhwa reopened this May 20, 2020
@darhwa darhwa changed the title http outbound支持連接https與http/2代理服務器 http outbound不支持連接https與http/2代理服務器 May 21, 2020
@darhwa darhwa changed the title http outbound不支持連接https與http/2代理服務器 [Feature Request] http outbound支持連接https與http/2代理服務器 May 22, 2020
@wd
Copy link

wd commented Jun 26, 2020

看到你的代码应该是合并了,我编译了最新的 master 代码可以支持我的 https 代理的,之前折腾老半天不行,以为是配置问题,原来是不支持,也是服气了。。。

@darhwa darhwa closed this as completed Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants