vm/filecopy: close stdin when no more data will be read
This will allow qrexec_agent drop the data instead of buffering it.
This commit is contained in:
parent
1ae20c65af
commit
4fa5afb886
@ -49,6 +49,7 @@ void send_status_and_crc(int code) {
|
||||
|
||||
void do_exit(int code)
|
||||
{
|
||||
close(0);
|
||||
send_status_and_crc(code);
|
||||
exit(code);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user