[GH-ISSUE #5049] 中转内网 http3 端口的UDP流量,谷歌浏览器无法建立 http3 连接 #3972

Closed
opened 2026-05-05 14:31:35 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @haodiao on GitHub (Nov 6, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5049

Describe the feature request

内网建立有 http3 的服务,用 frp 中转出去 UDP 443, 谷歌内核的浏览器永久无法切换到 http3,但火狐浏览器是没有问题的,这是什么原因?
是不是首个 http3 的 udp 数据包请求响应慢了呢?如果是那有什么办法先 hold 住,等待内网服务器的数据包过来?
还是其他原因导致谷歌内核的浏览器始终不走 http3 ?

Describe alternatives you've considered

如果 https2http 能支持 http3 就好了,就不用那么麻烦了

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @haodiao on GitHub (Nov 6, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5049 ### Describe the feature request 内网建立有 http3 的服务,用 frp 中转出去 UDP 443, 谷歌内核的浏览器永久无法切换到 http3,但火狐浏览器是没有问题的,这是什么原因? 是不是首个 http3 的 udp 数据包请求响应慢了呢?如果是那有什么办法先 hold 住,等待内网服务器的数据包过来? 还是其他原因导致谷歌内核的浏览器始终不走 http3 ? ### Describe alternatives you've considered 如果 https2http 能支持 http3 就好了,就不用那么麻烦了 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [x] Others
gitea-mirror 2026-05-05 14:31:35 -06:00
Author
Owner

@xqzr commented on GitHub (Nov 11, 2025):

“alt-svc 头”、“DNS HTTPS 记录”已添加?

<!-- gh-comment-id:3518068888 --> @xqzr commented on GitHub (Nov 11, 2025): “alt-svc 头”、“DNS HTTPS 记录”已添加?
Author
Owner

@haodiao commented on GitHub (Nov 12, 2025):

“alt-svc 头”、“DNS HTTPS 记录”已添加?

建议你测试一下再回复吧。
HTTPS RR 记录目前只有 Safari 完美支持,在 Firefox 上需要 DoH/Dot/DNSSEC 才支持, Chrome 浏览器目前暂时没有支持。
ALT-SVC 这只是基本的设置,我都考虑要不要在 http2 altsvc frame 中增加 ALT-SVC,奈何没有浏览器支持 RFC 标准中的升级 http3 可选方案,就是在 http2 协议中增加 altsvc 这个握手帧。

<!-- gh-comment-id:3519975014 --> @haodiao commented on GitHub (Nov 12, 2025): > “alt-svc 头”、“DNS HTTPS 记录”已添加? 建议你测试一下再回复吧。 HTTPS RR 记录目前只有 Safari 完美支持,在 Firefox 上需要 DoH/Dot/DNSSEC 才支持, Chrome 浏览器目前暂时没有支持。 ALT-SVC 这只是基本的设置,我都考虑要不要在 http2 altsvc frame 中增加 ALT-SVC,奈何没有浏览器支持 RFC 标准中的升级 http3 可选方案,就是在 http2 协议中增加 altsvc 这个握手帧。
Author
Owner

@xqzr commented on GitHub (Nov 14, 2025):

你自己玩去吧。
配置、日志真是一点也不放
Chrome 启动参数 --origin-to-force-quic-on=* 可以强制 HTTP/3

<!-- gh-comment-id:3530803900 --> @xqzr commented on GitHub (Nov 14, 2025): 你自己玩去吧。 配置、日志真是一点也不放 Chrome 启动参数 `--origin-to-force-quic-on=*` 可以强制 HTTP/3
Author
Owner

@haodiao commented on GitHub (Nov 20, 2025):

你自己玩去吧。 配置、日志真是一点也不放 Chrome 启动参数 --origin-to-force-quic-on=* 可以强制 HTTP/3

换个角度,如果你是一个网站,你会通知你的所有用户都在浏览器上加启动参数吗?如果是手机用户你还会告诉吗?

<!-- gh-comment-id:3556855722 --> @haodiao commented on GitHub (Nov 20, 2025): > 你自己玩去吧。 配置、日志真是一点也不放 Chrome 启动参数 `--origin-to-force-quic-on=*` 可以强制 HTTP/3 换个角度,如果你是一个网站,你会通知你的所有用户都在浏览器上加启动参数吗?如果是手机用户你还会告诉吗?
Author
Owner

@github-actions[bot] commented on GitHub (Dec 5, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3614867809 --> @github-actions[bot] commented on GitHub (Dec 5, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3972
No description provided.