pve-manager/PVE
Dominik Csapak 68df949690 api: journal: stream the journal data to the client
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>
2021-11-24 18:19:16 +01:00
..
API2 api: journal: stream the journal data to the client 2021-11-24 18:19:16 +01:00
Ceph pveceph: add 'fs destroy' command 2021-11-11 17:52:08 +01:00
CLI pveceph: add 'fs destroy' command 2021-11-11 17:52:08 +01:00
Jobs jobs: code/style cleanups 2021-11-15 16:12:42 +01:00
Service pvescheduler: use private sub instead of code-ref 2021-11-23 08:59:49 +01:00
Status influxdb: do not test the connection when entry is disabled 2021-09-30 17:28:36 +02:00
.gitignore add .gitignore files, fix Makefiles 2011-08-23 16:23:46 +02:00
API2.pm api: version: expand return schema info 2021-11-10 17:34:39 +01:00
API2Tools.pm api: resources: return plugin type 2020-11-24 23:01:54 +01:00
APLInfo.pm aplinfo: switch over to new index 2021-07-06 12:32:46 +02:00
AutoBalloon.pm avoid perl warning 2013-01-22 11:44:41 +01:00
CertCache.pm takeover CertCache from pve-cluster 2019-11-18 12:25:35 +01:00
CertHelpers.pm renew pve-ssl.pem when it nearly expires 2019-11-26 13:13:04 +01:00
ExtMetric.pm status/plugin: extend send/_connect/_disconnect/test_connection 2021-01-28 17:32:23 +01:00
HTTPServer.pm ui: implement OpenId login 2021-07-02 14:09:30 +02:00
Jobs.pm jobs: code/style cleanups 2021-11-15 16:12:42 +01:00
Makefile add PVE/Jobs to handle VZDump jobs 2021-11-10 16:11:00 +01:00
NodeConfig.pm node config: limit description/comment length to 64 KiB 2021-06-18 13:14:34 +02:00
pvecfg.pm.in pvecfg: adapt version and release semantic 2019-05-26 16:11:43 +02:00
Report.pm report: top: also print command line arguments 2021-05-11 16:27:30 +02:00
VZDump.pm vzdump: skip protected backups for dumpdir pruning 2021-11-09 11:33:16 +01:00