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)
committerJohn Crispin <john@phrozen.org>
Fri, 13 Sep 2019 11:05:09 +0000 (13:05 +0200)
commit156b7112ab38e7caa2f6488e6fbe73c5b8edda41
tree91c796f8ce814643c856b1e265195ff5365c7ff0
parent14c38aa9017545b338d4b3ced7f822f89965d562
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>
Makefile
src/main.c