[bug #21172] mlnet[pidnumber] general protection rip:50498d rsp:7377cc error:0
spiralvoice <[email protected]> Sun, 04 Nov 2007 20:21:05 +0000
| Newsgroups | gmane.network.mldonkey.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #28, bug #21172 (project mldonkey):
Updated crash_debug.patch
I changed the way the client is disconnected after receiving
data for an already finished file, see the patch in donkeyOneFile.ml
@@ -301,8 +348,12 @@
(* connection_delay c.client_connection_control; *)
match c.client_source.DonkeySources.source_sock with
Connection sock ->
+lprintf_nl "debug get_from_client, disconnect %s" (full_client_identifier
c);
+ disconnect_client c (Closed_for_error (Printf.sprintf
"No file to download from %s" (full_client_identifier c)));
+(*
TcpBufferedSocket.close sock
- (Closed_for_error "No file to download");
+ (Closed_for_error (Printf.sprintf "No file to download
from %s" (full_client_identifier c)));
+*)
| _ -> ()
end
Here I am using function "disconnect_client" instead of
TcpBufferedSocket.close. I do not know if this fixes the bug,
which is not present when using Ocaml < 3.10, but its worth a try.
(file #14296)
_______________________________________________________
Additional Item Attachment:
File name: crash_debug.patch Size:16 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21172>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/