Arvid Norberg
Arvid Norberg
libtorrent *does* support `SetFileValidData`, but it requires running as Administrator. So, in practice it's not necessarily practical. File allocation happens in the disk thread, unless you're using `posix_disk_io`, which is...
what's the rationale for this change? it's not obvious from the documentation you added. it looks like you also meant to expose the `wait` functions to `torrent_handle` as well, otherwise...
if you want a hook on when a torrent changes state, it would probably be better to do something in `torrent::set_state()`. Going via the alert mechanism won't work if the...
I also think there's a race condition in here. For example, if you call `handle.status()` followed by `handle.wait()`, it the torrent may have changed status before you call `wait()`
> Arvid has been trying 'salvage' the mmap implementation for literally three years now but it hasn't been successful. Contributions are welcome! > Mind you a lot of these knobs...
> Hmm as this new implementation is taking a while, why not just copy wholesale the disk I/O subsystem from 1.2 for 2.1 and then you can work on this...
> Because you had at first https://github.com/arvidn/libtorrent/pull/7013#issuecomment-1214911346 that this new implementation you're working on wouldn't cache blocks, though more recently you've https://github.com/arvidn/libtorrent/issues/7480#issuecomment-1717531343 that it would use caching. My current plan...
the best way to ensure you're building libtorrent in an ABI compatible way to work in your program is to point to it as a dependency within CMake itself. I...
do you have a reason to believe ECH is not already supported? libtorrent doesn't explicitly ask for any particular kind of SNI, it calls `SSL_set_tlsext_host_name()`. Is that insufficient for OpenSSL...
it appears OpenSSL may not support it yet: https://github.com/sftcd/openssl/blob/ECH-draft-13c/doc/designs/ech-api.md