commit | 516e126b1a703afc9c72a77f7d5ad7becff904a1 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Sat Sep 13 02:43:23 2014 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Sat Sep 13 02:43:23 2014 +0200 |
tree | b13e02ca5bad69aa143414b6a16e8a6722bd7d7a | |
parent | 1af71817b934bff73a23794cb308606726b7b1ad [diff] |
idevicebackup2: Fix retry loop when device requests 0 files Under certain circumstances a device could request an empty array of filenames to be transferred with DLMessageDownloadFiles. This was not handled correctly in idevicebackup2 by just doing nothing, resulting in a 'retry loop' waiting endlessly for new messages from the device. The solution is to send a termination packet and a success status response. Thanks to pondahai for reporting.