allow_multiple_connections_per_ip - global or per torrent? Can you allow per torrent limit?
Please provide the following information
libtorrent version (or branch): 2.0.9.0 platform/architecture: Debian compiler and compiler version: ?
https://www.libtorrent.org/reference-Settings.html#allow_multiple_connections_per_ip does not mention if it is global or per torrent connection limit. If global, then can you please also allow per torrent limit? That should be set to 1 connection possibly.
Update: qBittorrent 4.6.2 AppImage on Linux (libtorrent 2.0.9.0) allows one host to download multiple torrents despite setting allow_multiple_connections_per_ip being disabled (unticked) and qBittorrent restarted. So if this is not a bug, it may be per torrent connection limit. Setting is described as a peers related, so likely it does not apply on trackers or any other connections, so i am unsure why the setting is marked as "It is not recommended to enable this feature."
lt::settings_pack::connections_limit global
per torrent is in
lt::add_torrent_params structure
int max_uploads = -1;
int max_connections = -1;
then there
lt::settings_pack::active_downloads
lt::settings_pack::active_seeds
@slrslr allow multiple connections per ip is not a limit, it's a switch to enable connecting to peers with the same IP address (but different ports). It's off by default because it's an effective countermeasure against certain kind of abuse.
It can not be set per torrent, because you can't know which torrent an incoming connection belongs to until after accepting it and handshaking.
But, it sounds like you might really be looking for the connection limits instead.