-
Notifications
You must be signed in to change notification settings - Fork 150
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
error reading a body from connection: unexpected end of file #162
Comments
It might be useful to further minimize the reproduction case by getting hyper-rustls out of the loop; I expect this is caused by rustls/rustls#790 which is more or less intentional. If you want to further debug this (for example, using Wireshark and rustls configured with a |
Upon further reflection, if the above issue is indeed at fault I think the best fix might be inside hyper, where we could ignore |
I think we can consider this resolved w/ hyperium/h2#743 |
(It's a little unclear if this might still be an issue for HTTP 1.) |
Ah, should we leave it open then? |
Not sure -- probably okay to keep it closed, but let's keep in mind the nuance of the H2-only fix. |
This error happens consistently. It seems to be related to the length of the response, because https://wpt.live/resources/testharnessreport.js (2268 bytes) triggers it, but https://wpt.live/resources/ (1975 bytes) doesn't. It also seems to be related to the specific TLS configuration of the server, since I can't replicate by proxying from Deno Deploy.
This error doesn't happen on hyper-rustls 0.22.0, so it might be related to rustls 0.20.
The text was updated successfully, but these errors were encountered: