Repository navigation
XDRIVE transport: Prefer h2 (Chrome CH by default); End stalled requests; Other small changes - #7181
Merged
Merged
Conversation
Member
|
@4RH1T3CT0R7 XMUX 加进来后在 Google Drive 上的默认 maxConnections 可以调大些 |
Member
|
还需要支持 h3 |
RPRX
pushed a commit
that referenced
this pull request
Oct 21, 2026
… Send Chrome HTTP headers (User-Agent, etc.) by default (#7187) #7181 (comment) #7187 (comment) #7187 (comment)
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.
builds on #7170. as RPRX asked, h2 + utls by default and h1 the DoH way from #7140: xdrive dials utls chrome even without tlsSettings and one http.Transport speaks what the server picked, so security tls against google works again (main offers h2 in the hello, then speaks h1 and gets http2_handshake_failed). a host gets one connection, a host that answers over h1 moves to a transport with up to 32. the handshake runs inside the dial with the stall limit, so a hung one can't hold the host. alpn http/1.1 without echConfigList gets a warning, the dead REALITY branch and x/net http2 are gone
from a VPS to googleapis, 32 parallel 4 MiB puts and gets, 2-3 runs each, main vs this: at ~1 ms put 17.2 to 18.8 MiB/s, get 17.0 to 20.7. with 150 ms added the get still gains (16.8 to 19.6) but the put falls from 10.8 to 3.4, google gives a connection 1 MiB of window, and 4 h2 connections bring it back to 9-11. @RPRX keep one connection or allow a few?