Skip to content
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

[Discussion&Suggestion]: support XHTTP ? #28

Open
18o opened this issue Nov 7, 2024 · 3 comments
Open

[Discussion&Suggestion]: support XHTTP ? #28

18o opened this issue Nov 7, 2024 · 3 comments

Comments

@18o
Copy link
Contributor

18o commented Nov 7, 2024

XTLS/Xray-core#3955
is it possible implement xhtp in shoes?

@cfal
Copy link
Owner

cfal commented Nov 7, 2024

looks like this is "splithttp" inside the repo - uploads are done in a series of POST requests, while downloads are done as GET requests (a single one?) and works across http1.1/http2/http3: https://github.com/XTLS/Xray-core/blob/6877ca5201c945d6c59b184c1ccb33f5ab1cc93a/transport/internet/splithttp/dialer.go#L228

this could be interesting to work on, although i don't see many clients supporting this atm

@cfal
Copy link
Owner

cfal commented Nov 7, 2024

it does seem like the download GET is a single chunked transfer request: https://xtls.github.io/en/config/transports/splithttp.html

@18o
Copy link
Contributor Author

18o commented Nov 20, 2024

yeah, it's a very fresh protocol which is very interesting, the servers even can be put in different area, like upload server in US and download serve in Japan and communicate each otter

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

No branches or pull requests

2 participants