From 0a62dc9906182ef285db88d29f413f2a3868200c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 6 Feb 2009 16:53:49 +0100 Subject: [PATCH] curl plugin: Enable the `Verify{Peer,Host}' options by default. So the curl plugin behaves just like the apache plugin in this respect. --- src/curl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/curl.c b/src/curl.c index cfe5a4ff..88b5496d 100644 --- a/src/curl.c +++ b/src/curl.c @@ -395,6 +395,11 @@ static int cc_config_add_page (oconfig_item_t *ci) /* {{{ */ return (-1); } memset (page, 0, sizeof (*page)); + page->url = NULL; + page->user = NULL; + page->pass = NULL; + page->verify_peer = 1; + page->verify_host = 1; page->instance = strdup (ci->values[0].value.string); if (page->instance == NULL) -- 2.30.2