Debian Codegraph @

configs/samples/res_http_media_cache.conf.sample

raw
1 ;
2 ; Sample configuration for res_http_media_cache
3 ;
4 ; res_http_media_cache is the HTTP backend for the core media cache. The
5 ; following options can be used to tune the behavior of the implementation
6 ; or left as default.
7 ;
8 ; See the module's and cURL's documentation for the exact meaning of these
9 ; options.
10
11
12 [general]
13 ; Maximum time in seconds the transfer is allowed to complete in.
14 ;
15 ; See https://curl.se/libcurl/c/CURLOPT_TIMEOUT.html for details.
16 ;
17 ;timeout_secs = 180
18
19
20 ; The HTTP User-Agent to use for requests.
21 ;
22 ; See https://curl.se/libcurl/c/CURLOPT_USERAGENT.html for details.
23 ;
24 ;user_agent = asterisk-libcurl-agent/1.0
25
26
27 ; Follow HTTP 3xx redirects on requests. This can be combined with the
28 ; max_redirects option to limit the number of times a redirect will be
29 ; followed per request.
30 ;
31 ; See https://curl.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html for details.
32 ;
33 ;follow_location = false
34
35
36 ; The maximum number of redirects to follow.
37 ;
38 ; See https://curl.se/libcurl/c/CURLOPT_MAXREDIRS.html for details.
39 ;
40 ;max_redirects = 8
41
42 ; The HTTP/HTTPS proxy to use for requests. Leave unspecified to not use
43 ; a proxy. This can be a URL with scheme, host and port.
44 ;
45 ; See https://curl.se/libcurl/c/CURLOPT_PROXY.html for details.
46 ;
47 ;proxy = https://localhost:1234
48
49
50 ; The life-time for DNS cache entries.
51 ;
52 ; See https://curl.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html for details.
53 ;
54 ;dns_cache_timeout_secs = 60
55
56
57 ; The comma separated list of allowed protocols for the request. Available with
58 ; cURL version 7.85.0 or later.
59 ; See https://curl.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html for details.
60 ;
61 ;protocols = http,https
62
63 ; The comma separated list of allowed protocols for redirects. Available with
64 ; cURL version 7.85.0 or later. This can be used to prevent a redirect from
65 ; a protocol like HTTPS to another supported protocol of cURL.
66 ;
67 ; See https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html for details.
68 ;
69 ;redirect_protocols = http,https