Bug 975689

Summary: dllink fail with torrent url
Product: [Fedora] Fedora EPEL Reporter: Sébastien Andreatta <sebastien.andreatta>
Component: mldonkeyAssignee: Christopher Meng <i>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: fedora-ocaml-list, lemenkov, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 08:07:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sébastien Andreatta 2013-06-19 06:45:47 UTC
Description of problem:
The telnet dllink command fail if used with some .torrent url


Version-Release number of selected component (if applicable):
3.0.3


How reproducible:
Every time

Steps to Reproduce:
1. Install mldonkey
2. Telnet mldonkey ( telnet localhost 4000 )
3. Use dllink command with a valid torrent file ( Torrent file tested with uTorrent,deluge,...)
4. dllink http://url.to.torrent

Actual results:
A error occur with this text 
         BitTorrent: Can not load load torrent file: File "src/networks/bittorrent/bencode.ml", line 0, characters 118-10: Assertion failed



Expected results:
Downloading file

Additional info:
Work with some torrent file ( dllink http://torrent.fedoraproject.org/torrents/Fedora-19-Beta-i386-DVD.torrent )

I make a rpm for 3.1.3 and it work without error
This is a know bug resolved in 3.0.6 i guess -> 7374: BT: calculate compatible hash for wrong torrents (ygrek)