]> git.proxmox.com Git - pve-http-server.git/commit
multipart upload: avoid code duplication in writing data to tmp file
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Sep 2022 14:31:51 +0000 (16:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Sep 2022 15:05:34 +0000 (17:05 +0200)
commitdafe4416095b2cfad4c87e794b04d44d9b6e1d33
tree1905e47534ffc769f6c4ccd47121d4023c938a5e
parent59128f6b5ab5ea903bebe3ff76f80fa0affa4fbf
multipart upload: avoid code duplication in writing data to tmp file

Separate the flow into first getting the length and data reference
and only then handle writing/digest in a common way

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/APIServer/AnyEvent.pm