Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IIOD: Better handle errors of iio_buffer_{refill,push}
Pass the error code to the connected clients, instead of disconnecting them. This means that for a very slow device, a connected client will simply get a -ETIMEDOUT error when a configured timeout expires, and will still be able to communicate with the server. Fixes: #981. Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information