Conversation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
fix: 更新版本号至2026-08-09并优化XHTTP传输链路和连接管理
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
fix: 更新版本号至2026-08-09并修复链式代理路径末尾斜杠处理
fix: 修复响应URL生成逻辑
|
🤖 这个 PR 因为说明为空,或说明过短,已被自动关闭。 请补充这次改了什么、为什么要改,再重新提交 PR。 |
Merged
There was a problem hiding this comment.
Pull request overview
This PR updates the project to the “Beta2.1” release, primarily enhancing the XHTTP (renamed to “叉HTTP”) transport path with padding-obfuscation signaling and a more direct streaming model, and records the release notes in the changelog.
Changes:
- Updated
CHANGELOGwith new Beta2.1 entries describing XHTTP/叉HTTP optimizations and fixes. - Updated
_worker.jsversion stamp and refactored XHTTP handling to 叉HTTP, adding padding obfs identification/validation and pipe-based TCP streaming plus uplink coalescing. - Improved reverse-proxy parameter parsing to tolerate trailing
/in encoded path segments.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| CHANGELOG | Adds Beta2.1 release notes for recent transport/parameter parsing updates. |
| _worker.js | Implements 叉HTTP padding obfs handling, streaming/connection changes, and version bump. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -1,4 +1,4 @@ | |||
| const Version = '2026-07-29 23:57:34'; | |||
| const Version = '2026-08-11 14:45:22'; | |||
Comment on lines
4783
to
+4787
| function 获取传输协议配置(配置 = {}) { | ||
| const 是gRPC = 配置.传输协议 === 'grpc'; | ||
| const { 头: 本机Padding头, 键: 本机Padding键 } = 获取叉HTTPPadding标识(配置.UUID); | ||
| const 叉混淆JSON = { | ||
| "xPaddingObfsMode": true, |
| 当前写入Socket = null; | ||
| try { | ||
| const 响应URL = new URL('https://x.invalid/'); | ||
| 响应URL.searchParams.set(本机Padding键, 生成叉HTTPPadding串(100 + Math.floor(Math.random() * 901))); |
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.
Beta2.1