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)
commita8b4a28372645c93621008b2563c00ce6cdd739f
tree253db6027ae69fb7d88dfe2141627711e0394c78
parent8c22db653158e8c4edf4fdd0e0554a603b96a655
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>
net/cgi-io/Makefile
net/cgi-io/src/main.c