[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] Pausing Downloads
From: |
Tom Mraz |
Subject: |
Re: [Mldonkey-users] Pausing Downloads |
Date: |
Wed, 19 Mar 2003 23:13:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030226 |
Tom Mraz wrote:
Martin wrote:
Martin wrote...
happens here on MLNet 2.04rc1-4 too,
snip from the logs:
ERROR: client should be in file queue (1)
ERROR: client source has last conn
ERROR: client should be in file queue (2)
Error Sys_blocked_io while writing block. Pausing download
next_file...
next_file: no more file
there seems to be the problem....but what is it?
Could you try this attached fast hack patch?
I hope it applies, because I don't have the exactly 2.04rc1-4 sources.
Tom
Sorry the previous patch was wrong.
This should be OK. (But I'm not sure it will help :-)).
Tom
--- donkey/donkeyClient.ml.old Sat Mar 8 17:32:40 2003
+++ donkey/donkeyClient.ml Wed Mar 19 23:11:19 2003
@@ -1168,7 +1168,7 @@
(end_pos);
lprint_newline ();
end; *)
- try
+ (try
let fd = try
Unix32.force_fd (file_fd file)
with e ->
@@ -1180,7 +1180,6 @@
if not (List.mem (peer_ip sock) bb.block_contributors) then
bb.block_contributors <- (peer_ip sock) ::
bb.block_contributors;
- find_client_zone c;
with
End_of_file ->
lprintf "WITH CLIENT %s" c.client_name;
@@ -1188,7 +1187,8 @@
| e ->
lprintf "Error %s while writing block. Pausing download"
(Printexc2.to_string e);
lprint_newline ();
- file_pause (as_file file.file_file);
+ file_pause (as_file file.file_file));
+ find_client_zone c;
end;
- [Mldonkey-users] Pausing Downloads, Christian Lange, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, Christian Lange, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, Tom Mraz, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads,
Tom Mraz <=
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, MLdonkey, 2003/03/19
- Re: [Mldonkey-users] Pausing Downloads, Benjamin Groß, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Roland Arendes, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Roland Arendes, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Benjamin Groß, 2003/03/23
- Re: [Mldonkey-users] Pausing Downloads, Martin, 2003/03/23