Skip to content

Conversation

@PoneyClairDeLune
Copy link
Contributor

This PR is currently a draft.

It is a complete rewrite of the browser dialer to utilize pass-through without any processing on the browser side, reaching its theoretical maximum performance. A control socket will be used to instruct the browser dialer to initiate relaying.

The JS side, Appat, is currently being built. I'll post a built version of it and unmark this as a draft once it's done.

@PoneyClairDeLune PoneyClairDeLune marked this pull request as draft November 23, 2025 15:11
@PoneyClairDeLune
Copy link
Contributor Author

Related issue: #3840

@PoneyClairDeLune
Copy link
Contributor Author

The incomplete half-duplex methods for XHTTP should be all implemented. We can begin trials once the WebSocket forwarder is finished.

Since the fallback logic isn't yet implemented, the new browser dialer currently requires Chromium 124+ to be able to operate, yet 0 processing in the browser should unlock the speed potential if it also works in non-isolated test environments.

@RPRX
Copy link
Member

RPRX commented Nov 24, 2025

感谢 PR,新的 JS 没有可读性,原本的文件留一下吧,新文件可以命名为 dialer_new.html 之类的,否则你消失了的话可能难以维护

@Fangliding
Copy link
Member

感谢 PR,新的 JS 没有可读性,原本的文件留一下吧,新文件可以命名为 dialer_new.html 之类的,否则你消失了的话可能难以维护

新旧接口完全不兼容 换模式了 现在是一个conn传递控制信息 别的只传代理数据(js没法像go一样读一点header出来再io copy 只能直接对拷)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants