milahu
milahu
im trying to fix this, once again... in my [use-local-interfaces-2](https://github.com/milahu/libtorrent/tree/use-local-interfaces-2) branch i have a added some debug prints to [src/session_impl.cpp](https://github.com/milahu/libtorrent/blob/use-local-interfaces-2/src/session_impl.cpp#L298) and i have added a DHT test client in [tools/dht_client_test.cpp](https://github.com/milahu/libtorrent/blob/use-local-interfaces-2/tools/dht_client_test.cpp)...
one problem is this line ```cc if (m.addr.address() != i->second->target_addr()) continue; ``` in this part of [libtorrent/src/kademlia/rpc_manager.cpp](https://github.com/arvidn/libtorrent/blob/195f94d4a1283b58b042bb72a4f862d52fcc0f13/src/kademlia/rpc_manager.cpp#L279) ```cc bool rpc_manager::incoming(msg const& m, node_id* id) { // ... observer_ptr o; auto...
[99-udisks2.rules](https://github.com/milahu/nixos-config/commit/8d1570ef425d52dccc8ecda4823d3bebb0e75ef8) is a custom file created by me so apparently its my responsibility to [create /media](https://github.com/milahu/nixos-config/commit/b8354a918288a8b07034d4b85e95fe37ed8767d1) maybe the output of `udisksctl mount` and/or `journalctl -u udisks2.service` could be more helpful
in my case, `udisksd` is run by `root`, so it would have the necessary permissions to `mkdir /media` ``` $ ps -AF | grep udisks2 | grep -v grep root...
> udisks does not create it automatically ok, but ... udisks should print a syslog message like "please run sudo mkdir /media" udisks should have an option to create missing...
> Without this commit: [7cdf78b](https://github.com/DavidKeller/kademlia/commit/7cdf78bda780b044e6f23542b7aba72a7a1a97c1), all tests are fine. sure you are using boost 1.87? when i revert 7cdf78bda780b044e6f23542b7aba72a7a1a97c1 then the build fails with ``` kademlia/test/unit_tests/test_fake_socket.cpp: In member function ‘void...
nope... but chatgpt found this kademlia/test/unit_tests/test_fake_socket.cpp ```cc BOOST_AUTO_TEST_CASE( can_send_and_receive_messages ) { a::io_context io_service; // error: ‘work’ is not a member of ‘boost::asio::io_context’ // a::io_context::work work(io_service); // error: missing template arguments...
ok, i removed 7cdf78bda780b044e6f23542b7aba72a7a1a97c1, this is ready to merge (note, i have not tested this on runtime, but it does compile)
done, but now `cmake` cannot find `openssl` ``` $ rm -rf build/; mkdir build; cd build; cmake .. -- The CXX compiler identification is GNU 14.3.0 -- Detecting CXX compiler...
> Note that the standard library MozillaCookieJar does not properly support how these programs store session cookies with 0 for expiration date. `expires = 0` (or `expires = None`) just...