curl: Enable following redirects
The maximum number of redirects can be limited. The functionality can also be disabled. Fixes #2366.
This commit is contained in:
@@ -36,6 +36,7 @@ plugins = \
|
||||
plugins/bypass-lan.opt \
|
||||
plugins/certexpire.opt \
|
||||
plugins/coupling.opt \
|
||||
plugins/curl.opt \
|
||||
plugins/dhcp.opt \
|
||||
plugins/dnscert.opt \
|
||||
plugins/duplicheck.opt \
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
charon.plugins.curl.redir = -1
|
||||
Maximum number of redirects followed by the plugin, set to 0 to disable
|
||||
following redirects, set to -1 for no limit.
|
||||
Reference in New Issue
Block a user