apps/dl: add debug logs for 1 MB zeros problem
Build system / Check kernel codestyle (pull_request) Successful in 26s
Build system / Build (pull_request) Successful in 9m27s

This commit is contained in:
2026-05-17 11:35:18 +03:00
parent debe9f7834
commit d05c096a09
+9
View File
@@ -286,6 +286,15 @@ void MonitorProgress()
void CompleteDownload()
{
char dbg[128];
strcpy(#dbg, "DIAG len=");
strcat(#dbg, itoa(http.content_received));
strcat(#dbg, " ptr=");
strcat(#dbg, itoa(http.content_pointer));
strcat(#dbg, " first4=");
if (http.content_pointer) strcat(#dbg, itoa(ESDWORD[http.content_pointer]));
else strcat(#dbg, "NULLPTR");
notify(#dbg);
SaveFile(0);
if (autoclose.checked) ExitProcess();
pb.value = pb.max;