commit | f52584e7310ad9af414cdd22cbfad81d53417c22 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Fri Jul 19 00:06:38 2019 +0700 |
committer | Nikias Bassen <nikias@gmx.li> | Fri Jul 19 01:11:09 2019 +0700 |
tree | ae4488955b67b676ca5735d622083746c339ce96 | |
parent | 2332655423c1616d8e37ece7f33e98be0e218504 [diff] |
OpenSSL: Use SSL_pending() to determine if we want a select() before SSL_read() In order to obey the timeout in idevice_connection_receive_timeout(), we are using select() via socket_check_fd(). However, the SSL bio might have buffered more bytes than actually requested upon a call to SSL_read(), so in the next call to idevice_connection_receive_timeout() a select() would not find the fd being ready to read, and make it fail with an error, after the specified timeout is reached. With the help of SSL_pending() we can now skip calling select() so that SSL_read() will directly be called again.
A library to communicate with services of Apple iOS devices using native protocols.
Development Packages of:
Software:
Optional:
To compile run:
./autogen.sh make sudo make install
If you require a custom prefix or other option being passed to ./configure
you can pass them directly to ./autogen.sh
like this:
./autogen.sh --prefix=/opt/local --enable-debug-code make sudo make install
By default, OpenSSL will be used. If you prefer GnuTLS, configure with --disable-openssl
like this:
./autogen.sh --disable-openssl
git clone https://git.libimobiledevice.org/libimobiledevice.git
git clone https://github.com/libimobiledevice/libimobiledevice.git
Apple, iPhone, iPod, and iPod Touch are trademarks of Apple Inc. libimobiledevice is an independent software library and has not been authorized, sponsored, or otherwise approved by Apple Inc.
README Updated on: 2019-06-21