downloader.rs is not stable #1

Closed
opened 2025-07-27 21:42:15 +02:00 by philipp · 2 comments
Owner

I get the following error message:

Download failed: reqwest::Error { kind: Decode, source: hyper::Error(Body, Custom { kind: UnexpectedEof, error: "peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof" }) }
I get the following error message: ``` Download failed: reqwest::Error { kind: Decode, source: hyper::Error(Body, Custom { kind: UnexpectedEof, error: "peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof" }) } ```
Author
Owner

Maybe switch to this crate for downloading: https://github.com/aschey/stream-download-rs

Maybe don't use full crate, but extract only relevant part (e.g. 52c7812097/crates/stream-download/src/source/mod.rs (L196))

Maybe switch to this crate for downloading: https://github.com/aschey/stream-download-rs Maybe don't use full crate, but extract only relevant part (e.g. https://github.com/aschey/stream-download-rs/blob/52c78120978a40de76d3e983e01b5e2d52312223/crates/stream-download/src/source/mod.rs#L196)
Author
Owner
  • only stop the download, if (e.g.) 60 seconds nothing has been returned
- [ ] only stop the download, if (e.g.) 60 seconds nothing has been returned
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: philipp/oe1-player#1
No description provided.