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

waiProxyTo hangs when the server responds with HTTP 103 Early Hints #44

Open
thomasjm opened this issue Nov 7, 2023 · 0 comments
Open

Comments

@thomasjm
Copy link
Contributor

thomasjm commented Nov 7, 2023

HTTP 103 Early Hints is a newish HTTP feature where the server can indicate assets that the client can begin downloading immediately, before the server finishes its response.

It does this by sending 103 Early Hint followed by a Link: header.

I made a full repro here: https://github.com/codedownio/http-reverse-proxy/tree/http-103-early-hints-repro

The repro starts up a Node.js server which serves two routes, /simple and /early_hints. It also contains a tiny Haskell app which uses Warp to proxy to the Node.js server.

The /early_hints route sends early hints, and causes waiProxyTo to fail. The repro README describes how to run it and shows the output of curl -v against the different endpoints.

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 a pull request may close this issue.

1 participant