- Fix
http_serve::streaming_bodybug in which it would end the stream prematurely if the body is polled twice with the same waker before additional data is added. Unclear if this bug was ever hit in practice.
- upgrade to
httpcrate version 1.0. - bump minimum Rust to 1.79.
- Fix #25:
unsound use of
Vec::set_lenwithinChunkedReadFile. - Fix infinite loop in
<ChunkedReadFile as Entity>::get_rangeif the file ends before the specified range does. This could happen for example if the file is truncated between theChunkedReadFilebeing created and read.
- Remove a
println!accidentally introduced in 0.3.3.
- Avoid a second
fstatcall perChunkedReadFileconstruction on Unix.
- Fix #23:
erroneous
304 Not Modifiedresponses when the etag doesn't matchIf-None-Matchbut the date isn't afterIf-Unmodified-Since.
- documentation improvements
- update deps
- Bump minimum Rust version to 1.46.
- Remove an
unsafeblock via thepin-projectlibrary. - Fix references to old hyper versions in documentation.
- BREAKING CHANGE: update to hyper 0.14, tokio 1.0, bytes 1.0.
- Bump minimum Rust version to 1.45.
- Add new
dirmodule for local filesystem directory traversal on Unix.
- Don't panic on unparseable
Rangeheader values. - Reduce code bloat, particularly when there are multiple
implementations of
Entityfor a givenDataandErrortype.
- Use the freshly-released reqwest 0.10.x in tests. This avoids pulling in two copies of the hyper/tokio/http/http-body/bytes ecosystems.
- BREAKING CHANGE: update to hyper 0.13.x, tokio 0.2.x, bytes 0.5.x, http 0.2.x, futures 0.3.x.
- BREAKING CHANGE: use
tokio::task::block_in_placefromhttp_serve::ChunkedReadFilerather than hand off to a thread pool. This simplifies theChunkedReadFileinterface. - BREAKING CHANGE: bump minimum Rust version to 1.40.0.
- Convert benchmarks to criterion to support running with stable Rust.
- Upgrade tests to reqwest 0.9 (#13)
- Add Windows support (#10)
- Initial release