https://bugs.winehq.org/show_bug.cgi?id=47901
Bug ID: 47901 Summary: Stream the files in Screenshot.pl and GetFile.pl Product: Wine-Testbot Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
Screenshot.pl and GetFile.pl load their files entirely in memory before returning them. That's wasteful.
Also GetFiles.pl loads it in a $ImageBytes variable despite returning patches and executables.