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.
https://bugs.winehq.org/show_bug.cgi?id=47901
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Ideally no Perl script should not get involved for sending static stuff such s log files and screenshots. That's the job of Web servers and they can do that much more efficiently.
Once / if these file are no longer sent through perl scripts then this issue becomes moot. See also bug 47900.