cgi-io: use splice() to stream backup archive
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Sep 2019 07:17:58 +0000 (09:17 +0200)
committerPetr Štetiar <ynezz@true.cz>
Fri, 11 Oct 2019 12:33:24 +0000 (14:33 +0200)
commit92bea7f8e935a0a227696467c03c38209b270190
tree1114f484e079a7d3003872115da99295f9bd457f
parenta1e87b4e0e49d157c027b080b6dd202257aeb5b1
cgi-io: use splice() to stream backup archive

This improves the I/O performance when outputting large backups.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a8b4a28372645c93621008b2563c00ce6cdd739f)
net/cgi-io/Makefile
net/cgi-io/src/main.c