teddysun / xray-plugin

A SIP003 plugin based on Xray-core
MIT License
356 stars 64 forks source link

[Working] WebSocket 0-RTT fix #20

Closed sqwwqw5 closed 1 year ago

sqwwqw5 commented 1 year ago

Actual built and tested 0-RTT fix, add /?ed= to your path while is the max early-data that can be sent, recommended value 2048. As for the hostname change, Cloudflare doesn't make sense to me, it's a CDN admin panel while CloudFront could actually be used for content distribution, probably no one uses WebSocket without tls anymore anyway I guess, although I still do, for the -1 RTT.

teddysun commented 1 year ago

This PR has conflicts that must be resolved.

sqwwqw5 commented 1 year ago

This PR has conflicts that must be resolved.

Should be fixed now, I don't know how the code changed like that.

teddysun commented 1 year ago

Sorry, please delete .github/workflows/go.yml and I will merge it

teddysun commented 1 year ago

Thanks a lot! Merge it.