MonoTorrent: Issueshttp://projects.qnetp.net/2011-04-04T17:31:36+02:00Projects hosted by qNETp
Redmine Feature #580: Support for MonoDroidhttp://projects.qnetp.net/issues/show/5802011-04-04T17:31:36+02:00Alex Labunets
<p>It would be nice to have MonoDroid supported as another platform.</p> Bug #568: Ipv6 supporthttp://projects.qnetp.net/issues/show/5682011-02-25T21:38:29+01:00UO UO
<p>I found two ipv6 bugs.</p>
<p>1. URI exception in SocketListener.EndAccept</p>
<pre><code>Problem line:<br />
Uri uri = new Uri("tcp://" + endpoint.Address.ToString() + ':' + endpoint.Port);</code></pre>
<pre><code>It will raise exception "Invalid URI: A port was expected because of there is a colon (':') ..... " <br />
Because ipv6 uses ":" to seperate each section, it violates the uri name rule.<br />
This line should like this for ipv6 usage.</code></pre>
<pre><code>uri = new Uri("tcp://[" + endpoint.Address.ToString() + "]:" + endpoint.Port);</code></pre>
<p>2. Ipv6 listening in SocketListener.Start</p>
<pre><code>problem line:</code></pre>
<pre><code>listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);</code></pre>
<pre><code>This line only initializes an ipv4 listening socket.</code></pre> Bug #552: New seeding files cannot be openedhttp://projects.qnetp.net/issues/show/5522010-12-12T00:44:16+01:00Dave Lowndes
<p>When I download a file and TorrentState changes from downloading to seeding I pass to a Windows Media Player control to open and play. The control cannot play the file.</p>
<p>When I restart the client application and the file exists on disk, it goes from hashing to seeding but this time I can open and play the file in Windows Media Player.</p>
<p>I am trying to open the file based on the TorrentStateChanged event.</p>
<p>I have inserted debugging code to try and open the file once seeding:</p>
<pre>
Stream stream = new FileStream(((TorrentFile)e.TorrentManager.Torrent.Files.First()).FullPath, FileMode.Open, FileAccess.Read, FileShare.Read);
</pre>
<p>If I try to read the file once state shifts from downloading >> seeding I get:</p>
<p><em>System.IO.IOException: The process cannot access the file 'C:\downloads\movie.mpg' because it is being used by another process</em></p>
<p>I don't not get this error if the file is on disk and state changes from hashing >> seeding.</p>
<p>There is a <a href="http://monotorrent.21.forumer.com/viewtopic.php?t=323" class="external">thread in the forums</a> discussing this problem. One solution put forward:</p>
<blockquote>
<p>hmm maybe there are still some buffers to write...<br />
So we need to execute Looptask one time to empty the bufferedWrites before doing the flush....<br />
Can you check if there are element in bufferedWrites , if yes execute Looptask one time.<br />
Add this code in diskwriter.flush function...<br />
I do not know very well this part, Alan have done all the work here. I am pretty sure he can find the bug here.</p>
</blockquote>
<p>Using clientEngine.DiskManager.Flush(manager) does not solve the issue.</p> Bug #537: Stop() hangs stopping.http://projects.qnetp.net/issues/show/5372010-10-25T06:05:14+02:00Eric Mackrodt
<p>Hello, I'm having this issue with MonoTorrent.<br />
everytime I call Stop() in a manager, it hangs in Stopping forever.<br />
How can I solve this?</p>
<p>There is another Problem.<br />
Some torrents don't even start download, they hang hashing when I add them!</p> Support #379: When downloading torrent where only web seed is available there is a long delayhttp://projects.qnetp.net/issues/show/3792010-05-30T21:30:53+02:00Frank Quednau
<p>The subject pretty much sums it up. I am experiencing a long delay from a torrent where at the beginning only the web seed is available. Is there any way to influence this or is it known why this happens?</p>
<p>Regards<br />
Frank</p>