diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-06-26 10:29:17 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-07-27 13:15:43 +0200 |
commit | 67402ec77bd3e4b585f3f4fc906c974e68772c77 (patch) | |
tree | e7f794abfc1cba899ece4cabc0ef636227c3b78b /conf | |
parent | 791cfe82a109100b4ff2e79f09b8a8e277f6fbae (diff) | |
download | strongswan-67402ec77bd3e4b585f3f4fc906c974e68772c77.tar.bz2 strongswan-67402ec77bd3e4b585f3f4fc906c974e68772c77.tar.xz |
curl: Enable following redirects
The maximum number of redirects can be limited. The functionality can also
be disabled.
Fixes #2366.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/Makefile.am | 1 | ||||
-rw-r--r-- | conf/plugins/curl.opt | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/Makefile.am b/conf/Makefile.am index de21103e3..87319db22 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -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 \ diff --git a/conf/plugins/curl.opt b/conf/plugins/curl.opt new file mode 100644 index 000000000..90efa12f4 --- /dev/null +++ b/conf/plugins/curl.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. |