Repository navigation
XDRIVE transport: Support XMUX ("maxConnections": 4 on Google Drive by default) and h3 - #7187
Open
4RH1T3CT0R7 wants to merge 2 commits into
Open
4RH1T3CT0R7 wants to merge 2 commits into
4RH1T3CT0R7 wants to merge 2 commits into
Conversation
RPRX
reviewed
Oct 17, 2026
| } | ||
|
|
||
| if xdriveH3 && c.FinalMask != nil { | ||
| if c.XDRIVESettings != nil && c.XDRIVESettings.Service == "Google Drive" { |
Member
|
感觉这个 PR 最好配合 #7135 , 所以 h3 时默认 maxConnections 是 1? |
4RH1T3CT0R7
force-pushed
the
feat/xdrive-xmux-h3
branch
from
October 17, 2026 16:38
ca0b119 to
3fdaf41
Compare
Contributor
Author
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.
as RPRX asked in #7181. xmux the way masque has it, maxConnections 4 on google drive over h2 and 1 otherwise by default: a session takes a connection of xmux and moves to another after hMaxRequestTimes or hMaxReusableSecs, and the old one closes once its requests end. and h3 with alpn ["h3"] like DoH: quicParams and udp masks from finalmask, chrome parrot, bbr by default like xhttp, no fallback to h2 for now, with google-drive only noise among the udp masks
from a VPS to googleapis with 150 ms added, 32 parallel 4 MiB puts: google gives an h2 connection 1 MiB of window, so on one connection they make 3.4 MiB/s, spread over 4 connections 9-11, and one h3 connection makes 16.5, so h3 takes one by default