-
Notifications
You must be signed in to change notification settings - Fork 11
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
process exits with http2 and redirects #47
Comments
tripodsan
changed the title
process crashes with http2 and many (2) redirects
process crashes with http2 and redirects
May 28, 2020
stefan-guggisberg
changed the title
process crashes with http2 and redirects
process exits with http2 and redirects
May 28, 2020
The problem can be reproduced with any redirected request over HTTP/2. The number of redirects doesn't matter. Underlying fetch-h2 issue. |
stefan-guggisberg
added a commit
that referenced
this issue
May 29, 2020
Note: The issue can't be reproduced in a Mocha test. The following test succeeds, probably because Mocha runs the tests in forked child processes. it('redirects work (HTTP/2)', async () => {
const resp = await fetch('https://nghttp2.org/httpbin/absolute-redirect/3', { redirect: 'follow' });
assert.equal(resp.status, 200);
assert.equal(resp.httpVersion, 2);
assert.equal(resp.redirected, true);
}); |
Fixed in 2.5.0 |
🎉 This issue has been resolved in version 1.9.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
when fetching content from a http2 server that sends redirects, the process just quits. no error, no trace, nothing.
when forcing
http1
, it works.To Reproduce
the url above sends the 2 redirects:
The text was updated successfully, but these errors were encountered: