[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [ALPHA] wget parallel branch release 1.14.127-ced4
From: |
Bykov Aleksey |
Subject: |
Re: [Bug-wget] [ALPHA] wget parallel branch release 1.14.127-ced4 |
Date: |
Mon, 20 May 2013 20:11:47 +0300 |
User-agent: |
Opera Mail/12.14 (Win32) |
Greetings
Standart functions work fine.
Metalinks issues in MinGW:
1. if "--jobs=3" - "Runtime error".
2. Log (and screen output) with "--jobs=2" looks strange - every stream
write it's own data. Result - "CCaacchhiinngg" and "ReaHdT TePr rroerq
u(esCto"
3. Saves temporary files to "\\filename" (drive's root). And does not
remove it.
4. File downloaded fully. Temporary files checksum match. But resulting
file has size 4814 bytes instead of 5 Mb - look like because of using text
fopen ("w","r") instead of binary ("wb","rb") for megre.c:merge_temp_files
(in Win32)? After changing to wb/rb resulting file is correct.
5. It's somes error for checksum calculation. Sorry, can't understood
where. And can't lauch it in gdb. Resulting file SHA256 is correct, but
differ from calculated by wget value.
6. Strange, that it try all twice... (and calculating hashes after began
of second try?)
Attached (mostly useless) - resulting file (with removed extension),
metalink for it and logs.
Test log - log with added to metalink.c 458
printf("\nCalculatedHash:\t%s\n",file_hash);
printf("\nMetaLinkHash:\t%s\n",metalink_hashes[req_type]);
--
Best regars, Alex