mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Proxy is now used for tracker / web seeds / peers connections
- Fixed the compiling errors with latest libtorrent svn
This commit is contained in:
parent
f8eea3b779
commit
9093f8e44a
5 changed files with 23 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue