mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Fix compilation error with libtorrent v0.15
This commit is contained in:
parent
bcd81c0791
commit
64fd3044b1
@ -392,8 +392,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
|
||||||
|
Loading…
Reference in New Issue
Block a user