Matt Joiner
079599b91b
Don't use path.Join in default webseed path escaper
...
Thanks fuzzing!
2022-12-25 18:20:42 +11:00
Matt Joiner
df126fcace
Add fuzzing for webseed path escaping
2022-12-25 18:20:23 +11:00
Matt Joiner
291c428016
Change default webseed path escaping to work for all S3-compatible providers
2022-12-23 11:18:36 +11:00
Matt Joiner
3e0f34934d
gorond ./...
2022-11-15 23:31:27 +11:00
Matt Joiner
d2d8125eea
WebSeed PathEscaper API tweaks
2022-04-26 10:46:01 +10:00
afjoseph
a79c3bd5d3
fixup! [webseed] Add a custom URL encoder for webseeds
2022-04-22 04:23:43 +02:00
afjoseph
02cc723750
[webseed] Add a custom URL encoder for webseeds
2022-04-21 16:21:29 +02:00
Matt Joiner
53f26d7d04
Test that empty info names are ignored in multi-file torrent webseed URLs
2022-03-11 12:03:18 +11:00
Matt Joiner
09df09596d
Expose webseed.EscapePath
2022-02-23 18:03:52 +11:00
Matt Joiner
cc0d223a65
Apply download rate limiter to webseeds
2021-12-23 14:00:00 +11:00
Matt Joiner
a2c50ea2bd
Handle 503 returns from webseed peer endpoints
2021-12-06 15:24:28 +11:00
Matt Joiner
c653cf2070
Do webseed request parts sequentially
...
This means we can treat the number of bytes in the result with enough accuracy to decide if we should count it as a wasted chunk. Also I'm not sure why it was a good idea to do parts of a request in parallel anyway, it could just lead to spikes in outstanding requests to the webseed, rather than sticking to the predictable maxRequests limit.
2021-12-06 15:22:00 +11:00
Matt Joiner
71cbea2fbc
Add a comment about not discarding in webseed OK response bodies
2021-11-14 14:01:46 +11:00
Matt Joiner
60dd68ede9
Don't log legitimate non-range requests
2021-11-12 15:58:32 +11:00
Matt Joiner
a7dff20e3f
Increment webseed peer piece availability
2021-11-12 13:41:55 +11:00
Matt Joiner
09d9a070e9
Allow non-partial webseed part responses for small files
2021-11-12 13:30:13 +11:00
Matt Joiner
411ebdbe28
webseed: Close unused part responses after error
...
Also don't bother to read their response bodies.
2021-11-12 12:40:15 +11:00
Matt Joiner
2fd928b918
Don't use non-directory webseed URLs for multi-file torrents
2021-11-12 12:37:40 +11:00
Matt Joiner
af0ade5496
Treat 404 responses from webseed peers as fatal
...
Fixes #464 .
2021-02-18 14:36:08 +11:00
Matt Joiner
41721f025d
Further fixes to webseed path encoding
2020-12-21 12:24:24 +11:00
Matt Joiner
30d0b5b9c7
webseed: Handle http response status codes
2020-10-15 12:42:27 +11:00
Matt Joiner
d3daaaf75a
Fix webseed requests for non-trivial path components
2020-10-07 10:22:55 +11:00
Matt Joiner
054ea59e6d
Remove events from webseed
...
Manage this stuff inside the webseed peer instead.
2020-06-02 13:54:26 +10:00
Matt Joiner
ff53ab860c
Further progress on webseeding
2020-06-01 18:25:45 +10:00
Matt Joiner
decf8bb6ea
webseed Client skeleton
2020-05-31 21:00:44 +10:00