]> Sergey Matveev's repositories - btrtrc.git/commit
compare webseed OK responses to correct expected Content-Length
authorMatt Joiner <anacrolix@gmail.com>
Thu, 21 Aug 2025 06:32:44 +0000 (16:32 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 21 Aug 2025 06:32:44 +0000 (16:32 +1000)
commitc05e15124728823ec03190402dd2af85d37a328a
tree4ba4dd394bdf98d889a9a4f651cdac5bd81d6deb
parenta1365a81964a410d765533f98ef874b16fc21a4a
compare webseed OK responses to correct expected Content-Length

Should compare to the entire file length, not the end of the current part (good guess tho).
Also fix bad URL conversion to struct in logger, and don't skip logging interesting case before returning error.
webseed/client.go