New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add trojan link & outbound support #1684
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the contribution anyway, only one tiny default value could be refined :)
with this PR merged, can we fully sunset the Trojan plugin? |
As far as I can remember, the default port value should be zero or it would be "shaken" as if no port is specified. |
Defaulting the port to 443, and then use Yes, switching to QUrl is always a better idea. |
I'm not familiar with share links, is |
Did you mean changing code to the following, iiuc? int port = 443;
JSONSTRUCT_COMPARE(TrojanServerObject, address, password)
JSONSTRUCT_REGISTER(TrojanServerObject, A(port), F(address, password)) |
The v2ray-core supports the trojan editor now, this PR makes qv2ray can edit trojan outbounds, with simple link formatting.