summaryrefslogtreecommitdiffstats
path: root/modules/md/md_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/md/md_curl.c')
-rw-r--r--modules/md/md_curl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/md/md_curl.c b/modules/md/md_curl.c
index f948efd8ec..cb3b4d91f3 100644
--- a/modules/md/md_curl.c
+++ b/modules/md/md_curl.c
@@ -219,6 +219,9 @@ static apr_status_t curl_perform(md_http_request_t *req)
if (req->user_agent) {
curl_easy_setopt(curl, CURLOPT_USERAGENT, req->user_agent);
}
+ if (req->proxy_url) {
+ curl_easy_setopt(curl, CURLOPT_PROXY, req->proxy_url);
+ }
if (!apr_is_empty_table(req->headers)) {
curlify_hdrs_ctx ctx;