diff options
author | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-07-03 17:40:46 +0300 |
---|---|---|
committer | Kostyantyn Ovechko <fastinetserver@gmail.com> | 2010-07-03 17:40:46 +0300 |
commit | e48f6311ff9f85b2bddf1e9fb1ea5a6734ea5e75 (patch) | |
tree | 2b3b75fbc2d1f534e14a822ec85efeb74ec22615 /segget/pkg.cpp | |
parent | Add option [pkg_list].del_pkg_list_when_dld_finished (diff) | |
download | idfetch-e48f6311ff9f85b2bddf1e9fb1ea5a6734ea5e75.tar.gz idfetch-e48f6311ff9f85b2bddf1e9fb1ea5a6734ea5e75.tar.bz2 idfetch-e48f6311ff9f85b2bddf1e9fb1ea5a6734ea5e75.zip |
Add support for several networks to segget
Add [networks] section to segget.conf
[networks]
network0_priority=10
network1_priority=0
network2_priority=0
network3_priority=0
network4_priority=0
network5_priority=0
network6_priority=0
network7_priority=0
network8_priority=0
network9_priority=0
2) Following options moved from segget.conf to network#.conf
[network_bind]
bind_interface=none
[network_connections]
max_connections=2
connection_timeout=15
ftp_response_timeout=180
timeout=500
low_connection_speed_limit=1000
low_connection_speed_time=10
max_connection_speed=3000
[network_protocols]
[network_user_data]
user_agent=segget
[network_proxy]
proxy_ip_or_name=none
proxy_port=3128
proxy_user=none
proxy_password=none
proxy_off=1
[network_mirrors]
use_own_mirror_list_on=0
Diffstat (limited to 'segget/pkg.cpp')
-rw-r--r-- | segget/pkg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/segget/pkg.cpp b/segget/pkg.cpp index 4a6ad37..40ddef3 100644 --- a/segget/pkg.cpp +++ b/segget/pkg.cpp @@ -31,7 +31,7 @@ #include <fstream> #include <iostream> #include <json/json.h> -#include "distfile.cpp" +#include "distfile.h" using namespace std; typedef unsigned int uint; |