<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>161169</bug_id>
          
          <creation_ts>2007-01-09 18:50 0000</creation_ts>
          <short_desc>net-p2p/mldonkey: Urgent patch to solve upload problem</short_desc>
          <delta_ts>2007-01-12 11:04:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4576</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>spiralvoice@web.de</reporter>
          <assigned_to>net-p2p@gentoo.org</assigned_to>
          <cc>voyageur@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>spiralvoice@web.de</who>
            <bug_when>2007-01-09 18:50:17 0000</bug_when>
            <thetext>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
&gt; Namely, eMule (and compatible) clients use &quot;rotational chunkrequest&quot; scheme,
&gt; where each REQCHUNKS packet contains one new chunk and two older chunks
&gt; ...
&gt; This can lead to duplicate data being sent by mldonkeys, if a rotational
&gt; 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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-01-12 11:04:48 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>