]> git.proxmox.com Git - pve-http-server.git/commit
allow stream download from path and over pvedaemon-proxy
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 22 Apr 2021 15:34:53 +0000 (17:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 16:18:50 +0000 (18:18 +0200)
commit51841e98fa5d4ad4d5b5250523c45f88769c577f
treef055815fad2a98220b560e795f64a2300eb626b9
parent389ad881f9fd95065c87b563ccad79e54b3b7e25
allow stream download from path and over pvedaemon-proxy

Allow specifying a filepath for stream=1 instead of either a path or fh
with stream=1.

With this in place, we can also just return the path to the proxy in
case we want to stream a response back, and let it read from the file
itself. This way, the pvedaemon is cut out of the transfer pipe.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/APIServer/AnyEvent.pm