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

Full-duplex streaming #7693

Open
annevk opened this issue Oct 12, 2017 · 3 comments
Open

Full-duplex streaming #7693

annevk opened this issue Oct 12, 2017 · 3 comments

Comments

@annevk
Copy link
Member

annevk commented Oct 12, 2017

HTTP, both 1 and 2, supports full-duplex in principle whereby the response arrives before the request is fully transmitted, as discussed in whatwg/fetch#229 and "implemented" in the Fetch Standard.

However, the testing infrastructure does not allow for testing this setup. This is problematic as it means browser support may be/remain spotty.

In that issue @Lukasa suggests hyper-h2 might be able to help with this (presumably only for HTTP/2).

This was filed as w3c/wptserve#80 before by @louiscryan, but I'm rather wary of that repository still being tracked as a source of suggestions.

@jakearchibald
Copy link
Contributor

The latest Node.js seems to support duplex.

Here's a little echo server: https://gist.github.com/jakearchibald/d21b5b070d265efa3b16c6a566ae33fa

@kereliuk
Copy link
Contributor

Are there existing manual tests that need this?

@annevk
Copy link
Member Author

annevk commented Nov 21, 2017

@JKereliuk manual tests have the same limitation with this missing...

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

No branches or pull requests

5 participants