Opened 8 years ago
Closed 7 years ago
#5837 closed Bug (duplicate)
Stopping a torrent does not stop downloading from webseeds
Reported by: | asaba90 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Transmission | Version: | 2.84 |
Severity: | Normal | Keywords: | webseed |
Cc: |
Description
When I pause a torrent, it continues to download from webseeds, and I cannot stop it; unless I close and reopen transmission again. I am using Transmission 2.84 on Mac OS X.
Attachments (1)
Change History (8)
comment:1 Changed 8 years ago by cfpp2p
comment:2 Changed 7 years ago by benenator
Same behavior here, using Transmission 2.84 on Fedora 21. As mentioned in the comments of the tickets linked above, it appears that Transmission finishes downloading the "chunks" it's working on, instead of immediately stopping the download.
Expected behavior would be either:
a) Immediately cease downloading data for the paused torrent, regardless of source.
b) When the user pauses a torrent that is downloading content from a webseed, display a new message stating something to the effect of, "Pausing -- downloading from peers stopped. Download from webseed will stop after completion of current chunk", preferably with some sort of indication of how close the completion of that download is.
comment:3 Changed 7 years ago by x190
I have a basic patch that uses curl's CURLOPT_PROGRESSFUNCTION being tested and will post it soon.
Changed 7 years ago by x190
comment:4 follow-up: ↓ 5 Changed 7 years ago by x190
Patch is for r14469. Downloading will stop on pausing the transfer, or if a webseed is sending bad pieces, or downloading to us without sending a 206 response code. Webseeds will also be disconnected on pause. This will stop the hangs and crashes that could result otherwise and should help us stay under curl's 1024 limit.
cfpp2p contributed many useful additions to the patch --- thanks!
comment:5 in reply to: ↑ 4 Changed 7 years ago by cfpp2p
comment:6 Changed 7 years ago by cfpp2p
comment:7 Changed 7 years ago by x190
- Resolution set to duplicate
- Status changed from new to closed
See #5923 for a patch.
ticket:4576#comment:13
ticket:4613#comment:3
ticket:1079