pve-http-server/PVE/APIServer
Stefan Reiter 389ad881f9 support streaming data form fh to client
Use an explicit AnyEvent::Handle similar to websocket proxying.

Needs some special care to make sure we apply backpressure correctly to
avoid caching too much data. Note that because of AnyEvent restrictions,
specifying a "fh" to point to a file or a packet-based socket may result
in unwanted behaviour[0].

[0]: https://metacpan.org/pod/AnyEvent::Handle#DESCRIPTION

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-04-22 18:18:50 +02:00
..
Formatter api-server: extract, set and handle API token header 2020-01-28 20:43:51 +01:00
AnyEvent.pm support streaming data form fh to client 2021-04-22 18:18:50 +02:00
Formatter.pm api-server: extract, set and handle API token header 2020-01-28 20:43:51 +01:00
Utils.pm utils: add LISTEN_IP option in /etc/default/pveproxy 2021-04-21 17:44:03 +02:00