hungdluit / flowlib

Automatically exported from code.google.com/p/flowlib
0 stars 0 forks source link

Unable to download big file from many sources #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Join hub
2. Start dowbnloading big file with many sources 4 GB /80 Sources
3. Search for alternatives, add all sources to download item
4. call start transfer for all sources

What is the expected output? What do you see instead?
it should work i think=)

What version of the product are you using?
SVN r482

On what operating system?
Windows 7 7022

Call Stack? ~~(Line numbers and exception type helps much)~~
First IOException:
The process cannot access the file '{File path}' because it is being used 
by another process.
File: transfernmdcprotocol.cs Line: 278

Second SocketException:
remote host has closed connection
File: Connections\TcpConnectionListener.cs Line: 91

Please provide any additional information below.
First of all i got exception №1, i have avoided it using limit for active 
transfers (40)
after that it start downloading correctly (using 30-40 sources), but some 
time later i got second exception. I have changed 
catch (ObjectDisposedException)
to
catch (Exception)
and then it looks like starts downloading normally

Original issue reported on code.google.com by hackw...@gmail.com on 18 Mar 2009 at 5:37

GoogleCodeExporter commented 8 years ago

Original comment by blomman84 on 18 Mar 2009 at 5:49