Closed jaspervdm closed 4 years ago
I will take a look!
Looks like the issue is with the default h2 support in hyper-rustls. If you hit a site that does not support h2 (try https://archive.org), then the request works as expected.
I will chase this down some more.
@jaspervdm can you please confirm this fixes the issue? i can release a new version first if that is easier as well.
I just tried it out and I can confirm it fixes the issue! Thanks for the quick fix. Releasing a new version would be ideal for us, if possible.
Thank you!
@hjr3 I'm having this same issue once again. Are you aware of anything that may have introduced a regression? Thanks for the attention.
I've noticed that when we use the
HttpsConnector
from hyper_rustls in combination with theTimeoutConnector
from this crate, request fail with errors such ashyper::Error(ChannelClosed)
,hyper::Error(IncompleteMessage)
orhyper::Error(Parse(Version))
.Here's a toy example:
This one panics on the request unwrap on websites such as twitter and reddit. When I'm using the
HttpsConnector
directly (comment out lines 9-12), it doesn't panic. This makes me believe the problem is with the timeout connector. Do you have a suggestion what could be going wrong here?