Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112352 - enhanced ctorrent patch dnh1.1 release
Summary: enhanced ctorrent patch dnh1.1 release
Status: RESOLVED DUPLICATE of bug 131903
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL: http://www.rahul.net/dholmes/ctorrent/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 17:08 UTC by René Wilhelm
Modified: 2006-05-01 07:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Release dnh1 (patchset-ctorrent-1.3.4-dnh1.diff,72.43 KB, patch)
2005-11-12 17:12 UTC, René Wilhelm
Details | Diff
Release dnh1.1 (patchset-ctorrent-dnh1-dnh1.1.diff,11.62 KB, patch)
2005-11-12 17:12 UTC, René Wilhelm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Wilhelm 2005-11-12 17:08:44 UTC
At http://www.rahul.net/dholmes/ctorrent/ you can find a patch file with various 
 bug/code fixes and improvements. It would be good if they were added to the 
net-p2p/ctorrent ebuild, maybe with a use-flag to toggle the patch on/off.

Reproducible: Always
Steps to Reproduce:
1. emerge ctorrent
2. watch the emerge
3. don't see any trace of the patch

Actual Results:  
The emerge finishes without the above mentioned patch being added.

Expected Results:  
The patch should have been added. In the case of an use-flag: The patch should 
have been added after enabling the use-flag "enhanced", for example.

For completeness i will copy&paste the features of the patch here:

Bug/code fixes 
Peer count would increase on each tracker update if there were no seeders. 
RequestQueue::CopyShuffle() changed to use a pointer argument. 
Fixed some incorrectness in PendingQueue::Delete() and PendingQueue::
DeleteSlice() which could cause a memory leak. 
Fixed random-chance inversion bug in PeerList::UnChokeCheck() affecting choice 
for optimistic unchoking. 
Improvements 
Move StopDLTimer() call from RequestPiece() to RequestCheck(), which could 
occasionally affect peer download rate measurement. 
Most clients do not like a slice size of 128K even though it is the max allowed 
by the BT specification. Changed max slice size to 64K. Note that the maximum 
piece length is 2MB (2097152); if you need to download a torrent with a larger 
piece size you can change the value of cfg_req_queue_length in btconfig.h from 
64 to 128. 
Contact tracker immediately upon becoming (or starting as) a seeder. 
Changed SendModule() to send only one slice at a time. This will help with 
fairly distributing upload bandwidth among the unchoked peers. 
Changed default peer ID prefix to '-CD0101-', indicating CTorrent-dnh1.1 
release.
Comment 1 René Wilhelm 2005-11-12 17:12:12 UTC
Created attachment 72782 [details, diff]
Release dnh1
Comment 2 René Wilhelm 2005-11-12 17:12:37 UTC
Created attachment 72783 [details, diff]
Release dnh1.1
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 07:00:25 UTC
*** Bug 131903 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 07:01:49 UTC

*** This bug has been marked as a duplicate of 131903 ***