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
							
								
									4ae822846d
								
							
						
					
					
						commit
						d1882bb9fc
					
				| @ -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
	 Marek Marczykowski
						Marek Marczykowski