diff options
Diffstat (limited to 'segget/network0.conf')
-rw-r--r-- | segget/network0.conf | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/segget/network0.conf b/segget/network0.conf index 6a750e0..e56f3bb 100644 --- a/segget/network0.conf +++ b/segget/network0.conf @@ -1,13 +1,15 @@ [mode] -# SYNOPSIS: NETWORK_MODE= 0 | 1 | 2 +# SYNOPSIS: NETWORK_MODE= 0 | 1 | 2 | 3 # 0 - remote mirrors (default) # 1 - proxy fetcher # 2 - local mirrors # 3 - CoralCDN +# - If set to 0, segget will use ONLY mirror list provided by portage +# system, and will NOT use the list from network0_mirrors.conf file. # - If set to 1 or 2, segget will replace mirror list provided by portage # system with the list from network#_mirrors.conf file -# - If set to 0, segget will use ONLY mirror list provided by portage -# system, and will NOT use the list from network0_mirrors.conf file +# - If set to 3, segget will convert mirrors provided by portage system +# to use CoralCDN caches. # In some cases it's necessary to make segget prefer local mirrors over # the remote ones. For this purpose define settings for 2 networks: # settings for network0 (to provide access to local mirrors), @@ -133,6 +135,28 @@ low_connection_speed_time=10 # max_connection_speed=0 max_connection_speed=3000 + +# SYNOPSIS: FOLLOW_LOCATION= 0 | 1 +# A parameter set to 1 tells segget to follow any Location: header that the server +# sends as part of an HTTP header. This means that the segget will re-send the +# same request on the new location and follow new Location: headers all the way +# until no more such headers are returned. MAX_REDIRS can be used to limit the +# number of redirects segget will follow. +# Default: +# follow_location=1 +follow_location=1 + +# MAX_REDIRS +# The set number will be the redirection limit. If that many redirections have +# been followed, the next redirect will cause an error. This option only makes +# sense if the FOLLOW_LOCATION is used at the same time. +# Setting the limit to 0 will make segget refuse any redirect. +# Minimum value: 0 +# Maximum value: 100 +# Default: +# max_redirs=5 +max_redirs=5 + [network_protocols] # SYNOPSIS: http_on=0 | 1 # Default: |