Repository navigation
Hysteria: Upgrade to official v2.8.2 - #6041
Merged
Merged
Conversation
LjhAUMEM
commented
Apr 30, 2026
Contributor
- update 2.8.2
- code clean
- fix read udp frag bug (fixes Hysteria2 inbound causes Discord WebRTC/screen share lag in TUN mode, while sing-box Hysteria2 works normally #6039)
Member
|
所以那个bug是什么原因? |
Contributor
Author
读 frag udp 没有进行缓冲区隔离,i.e. 大于 1197 的 udp 都会失败 |
Contributor
Author
|
另外据 hy 官方的说法 2.8.2 之后的 udp 似乎 break 了之前的,所以下次有 issue 应该确保双端版本 |
added 3 commits
April 30, 2026 18:54
added 5 commits
April 30, 2026 19:19
Member
|
这种跟官端最新行为就行了 兼容性不关我们的事 |
Contributor
Author
|
不是官端的问题,ParseUDPMessage 传的都应该是新 buf,改到 UDPReader 没注意到这个 |
Member
|
不过 Xray-core 接受 Hysteria2 主要是为了兼容机场,这客户端 UDP 一被 break 的话会连不上未更新服务端的机场 另外这个 PR 的服务端是同时支持新旧两种 UDP 还是? |
Contributor
Author
tcp 不受影响,只是 datagram udp
服务端同时支持新旧,客户端新连旧 break |
Member
|
毕竟主要是为了兼容机场,客户端的 UDP 设一个 UTC 2026.9.1 00:00 后自动切换至新行为吧 |
Contributor
Author
|
break 应该是在 quic-go 里 |
Member
|
|
Contributor
Author
|
|
Contributor
Author
|
居然还真可以,注释了 OmitMaxDatagramFrameSize: true, 新客户端就可以连上旧版服务端 |
added 2 commits
May 1, 2026 11:32
Contributor
Author
done |
added 3 commits
May 1, 2026 11:51
added 2 commits
May 2, 2026 12:34
5 tasks done
wyusgw
pushed a commit
to wyusgw/Xray-core
that referenced
this pull request
Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.