You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This assertion makes sure that the boost.asio API is behaving as expected. async_read_some() should never call the handler if 0 bytes were read. If the connection closed (which under plain posix sockets would cause read() to return 0) boost asio is supposed to call the handler with an error indicating end-of-file. Hence the || error in there.
It appears that, in your case, the handler is called with 0 bytes without indicating an error. I suspect this is some unexpected interaction with your SSL library. Are you using regular OpenSSL or some other library implementing its API?
//Enables encryption in libtorrent
encryption:BOOL=ON
//build using GnuTLS instead of OpenSSL
gnutls:BOOL=OFF
//Path to a library.
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/opt/homebrew/Cellar/openssl@3/3.3.2/lib/libcrypto.dylib
//Path to a file.
OPENSSL_INCLUDE_DIR:PATH=/opt/homebrew/Cellar/openssl@3/3.3.2/include
//Path to a library.
OPENSSL_SSL_LIBRARY:FILEPATH=/opt/homebrew/Cellar/openssl@3/3.3.2/lib/libssl.dylib
Please provide the following information
libtorrent version (or branch): 2.0.10
platform/architecture: macOS AArch64
compiler and compiler version:
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin24.0.0
Thread model: posix
please describe what symptom you see, what you would expect to see instead and
how to reproduce it.
I'm seeing this error when downloading a torrent. I can't tell how to reproduce it, because it seems that this happens randomly.
Luckly I was using a debug build so I can provide stack trace:
The project was built using CMake with the following configuration:
Boost version is
1.85.0
.The text was updated successfully, but these errors were encountered: