mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
docs: Add version information to configObject and configOption XML elements
Most of the configObjects and configOptions that are implemented with ACO or Sorcery now have `<since>/<version>` elements added. There are probably some that the script I used didn't catch. The version tags were determined by the following... * Do a git blame on the API call that created the object or option. * From the commit hash, grab the summary line. * Do a `git log --grep <summary>` to find the cherry-pick commits in all branches that match. * Do a `git patch-id` to ensure the commits are all related and didn't get a false match on the summary. * Do a `git tag --contains <commit>` to find the tags that contain each commit. * Weed out all tags not <major>.<minor>.0. * Sort and discard any <major>.0.0 and following tags where the commit appeared in an earlier branch. * The result is a single tag for each branch where the API was last touched. configObjects and configOptions elements implemented with the base ast_config APIs were just not possible to find due to the non-deterministic way they are accessed. Also note that if the API call was on modified after it was added, the version will be the one it was last modified in. Final note: The configObject and configOption elements were introduced in 12.0.0 so options created before then may not have any XML documentation.
This commit is contained in:
committed by
asterisk-org-access-app[bot]
parent
0c272429e6
commit
f70670841b
@@ -36,29 +36,38 @@
|
||||
<synopsis>HTTP media cache</synopsis>
|
||||
<configFile name="res_http_media_cache.conf">
|
||||
<configObject name="general">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>General configuration</synopsis>
|
||||
<configOption name="timeout_secs" default="180">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The maximum time the transfer is allowed to complete in seconds. See https://curl.se/libcurl/c/CURLOPT_TIMEOUT.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="user_agent">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The HTTP User-Agent to use for requests. See https://curl.se/libcurl/c/CURLOPT_USERAGENT.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="follow_location" default="1">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>Follow HTTP 3xx redirects on requests. See https://curl.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="max_redirects" default="8">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The maximum number of redirects to follow. See https://curl.se/libcurl/c/CURLOPT_MAXREDIRS.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="proxy">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The proxy to use for requests. See https://curl.se/libcurl/c/CURLOPT_PROXY.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="protocols">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The comma separated list of allowed protocols for the request. Available with cURL 7.85.0 or later. See https://curl.se/libcurl/c/CURLOPT_PROTOCOLS_STR.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="redirect_protocols">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The comma separated list of allowed protocols for redirects. Available with cURL 7.85.0 or later. See https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html for details.</synopsis>
|
||||
</configOption>
|
||||
<configOption name="dns_cache_timeout_secs" default="60">
|
||||
<since><version>18.18.0</version><version>20.3.0</version></since>
|
||||
<synopsis>The life-time for DNS cache entries. See https://curl.se/libcurl/c/CURLOPT_DNS_CACHE_TIMEOUT.html for details.</synopsis>
|
||||
</configOption>
|
||||
</configObject>
|
||||
|
Reference in New Issue
Block a user