Arvid Norberg

Results 1037 comments of Arvid Norberg

something like this. It doesn't quite seem to work yet though: https://github.com/arvidn/libtorrent/pull/6905

libtorrent doesn't copy sparse regions (anymore). so if the source file is sparse, the destination file will also be sparse. This can potentially save a lot of time

> Sure, but it's not guaranteed anywhere. you mean older version of libtorrent still copies sparse regions? the latest version of libtorrent is guaranteed not to copy sparse regions. >...

the CI workflow for iOS could also be helpful: https://github.com/arvidn/libtorrent/blob/RC_2_0/.github/workflows/macos.yml#L110

there's already a `fpic=on` build feature. ``` python setup.py build_ext --b2-args=fpic=on ```

passing `-n` to `b2` will make it print the command lines. Although, it should be printing the command lines that fail already.

the command line I see in that log does not have `-n` in it: ``` b2 fpic=on boost-link=static libtorrent-link=static crypto=openssl deprecated-functions=on variant=release address-model=64 python=3.8 libtorrent-python=on python-install-path=/disk-samsung/freebsd-ports/net-p2p/py-libtorrent-rasterbar/work-py38/libtorrent-2.0.6-27-g34c75eb5f/bindings/python/build/lib.freebsd-13.1-STABLE-amd64-3.8 install_module --project-config=/tmp/tmphtrr1cxx ```

it looks like the extension is built twice: The first time: ``` b2 fpic=on -n boost-link=static libtorrent-link=static crypto=openssl deprecated-functions=on variant=release address-model=64 python=3.8 libtorrent-python=on python-install-path=/disk-samsung/freebsd-ports/net-p2p/py-libtorrent-rasterbar/work-py38/libtorrent-2.0.6-27-g34c75eb5f/bindings/python/build/lib.freebsd-13.1-STABLE-amd64-3.8 install_module --project-config=/tmp/tmpmpdrl48c ``` That does the...

it smells like an ABI issue, which could be caused by a number of build flags differing between libtorrent, boost and qbittorrent. I don't have any issues on Ubuntu. After...

normal APIs to resolve hostnames don't support options to `BINDTODEVICE`, to make requests over a specific interface. Do you have any other programs that make DNS requests via both interfaces?