mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Fix compilation error with libtorrent v0.15
This commit is contained in:
@@ -387,8 +387,10 @@ void QBtSession::configureSession() {
|
|||||||
|
|
||||||
sessionSettings.upnp_ignore_nonrouters = true;
|
sessionSettings.upnp_ignore_nonrouters = true;
|
||||||
sessionSettings.use_dht_as_fallback = false;
|
sessionSettings.use_dht_as_fallback = false;
|
||||||
|
#if LIBTORRENT_VERSION_MINOR > 15
|
||||||
// Disable support for SSL torrents for now
|
// Disable support for SSL torrents for now
|
||||||
sessionSettings.ssl_listen = 0;
|
sessionSettings.ssl_listen = 0;
|
||||||
|
#endif
|
||||||
// To prevent ISPs from blocking seeding
|
// To prevent ISPs from blocking seeding
|
||||||
sessionSettings.lazy_bitfields = true;
|
sessionSettings.lazy_bitfields = true;
|
||||||
// Speed up exit
|
// Speed up exit
|
||||||
|
|||||||
Reference in New Issue
Block a user