mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Proxy is now used for tracker / web seeds / peers connections
- Fixed the compiling errors with latest libtorrent svn
This commit is contained in:
@@ -675,11 +675,18 @@ void bittorrent::disableIPFilter(){
|
||||
s->set_ip_filter(ip_filter());
|
||||
}
|
||||
|
||||
// Set BT session settings (proxy, user_agent)
|
||||
// Set BT session settings (user_agent)
|
||||
void bittorrent::setSessionSettings(session_settings sessionSettings){
|
||||
s->set_settings(sessionSettings);
|
||||
}
|
||||
|
||||
// Set Proxy
|
||||
void bittorrent::setProxySettings(proxy_settings proxySettings){
|
||||
s->set_peer_proxy(proxySettings);
|
||||
s->set_web_seed_proxy(proxySettings);
|
||||
s->set_tracker_proxy(proxySettings);
|
||||
}
|
||||
|
||||
// Read alerts sent by the bittorrent session
|
||||
void bittorrent::readAlerts(){
|
||||
// look at session alerts and display some infos
|
||||
|
||||
Reference in New Issue
Block a user