Bug 161169 - net-p2p/mldonkey: Urgent patch to solve upload problem
Bug#: 161169 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: net-p2p@gentoo.org Reported By: spiralvoice@web.de
Component: Ebuilds
URL:  http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4576
Summary: net-p2p/mldonkey: Urgent patch to solve upload problem
Keywords:  
Status Whiteboard: 
Opened: 2007-01-09 18:50 0000
Description:   Opened: 2007-01-09 18:50 0000
MLDonkey has a very serious bug which leeds to uploading
data blocks twice to eMule clients.

This is due to the fact that MLDonkey gets confused by
eMule rotating block request scheme.

http://hydranode.com/docs/ed2k/ed2kproto.php#upload
> Namely, eMule (and compatible) clients use "rotational chunkrequest" scheme,
> where each REQCHUNKS packet contains one new chunk and two older chunks
> ...
> This can lead to duplicate data being sent by mldonkeys, if a rotational
> chunkrequest scheme is used when communicating with them.

More infos about it, including logs proving the problem, can be found here:
http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4576

On https://savannah.nongnu.org/patch/index.php?5664 you will find patches
for all MLDonkey versions since 2.6.0. I tested the patch with 2.6.0,
without it it uploaded 700MB for a 350MB file to eMule 0.47c, with the
patch it send 350MB, nothing more.

Please update all MLDonkey ebuilds present in Gentoo.

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Raúl Porcel 2007-01-12 11:04:48 0000 -------
Thanks, in CVS. Only applied to 2.8.2-r1. Because i plan to stabilize this
version  as soon as i fix the other bugs.