mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-03 17:41:38 +00:00
![]() instead of accumulating the whole output of 'mini-journalreader' in the api call (this can be quite big), use the download mechanic of the http-server to stream the output to the client. we lose some error handling possibilities, but we do not have to allocate anything here, and since perl does not free memory after allocating[0] this is our desired behaviour. to keep api compatiblitiy, we need to give the journalreader the '-j' flag to let it output json. also tell the http server that the encoding is gzip and pipe the output through it. 0: https://perldoc.perl.org/perlfaq3#How-can-I-free-an-array-or-hash-so-my-program-shrinks? Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> |
||
---|---|---|
.. | ||
API2 | ||
Ceph | ||
CLI | ||
Jobs | ||
Service | ||
Status | ||
.gitignore | ||
API2.pm | ||
API2Tools.pm | ||
APLInfo.pm | ||
AutoBalloon.pm | ||
CertCache.pm | ||
CertHelpers.pm | ||
ExtMetric.pm | ||
HTTPServer.pm | ||
Jobs.pm | ||
Makefile | ||
NodeConfig.pm | ||
pvecfg.pm.in | ||
Report.pm | ||
VZDump.pm |