weihanglo / sfz

A simple static file serving command-line tool written in Rust.
https://crates.io/crates/sfz
Apache License 2.0
400 stars 30 forks source link

"curl: (18) transfer closed with outstanding read data remaining" with many concurrent requests #102

Closed jonashaag closed 1 year ago

jonashaag commented 2 years ago

If I use sfz to download ~ 1k files of total size ~ 1.5G using

curl --parallel ... >/dev/null

I'm getting some

curl: (18) transfer closed with outstanding read data remaining

This does go away when using --parallel-max 8 so I assume it has something to do with the number of concurrent requests.

weihanglo commented 2 years ago

Could you provide the version number of sfz you currently use?

jonashaag commented 2 years ago

Latest from Homebrew installed today

weihanglo commented 2 years ago

I guess you're using v0.7.1. Could you confirm what the output of sfz --version is?

jonashaag commented 2 years ago

Yes, just checked, it's 0.7.1.

weihanglo commented 1 year ago

Thank you for the PR. Unfortunately I have no time working on it. See #108.