summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 028fe9ee4..bfe4458cf 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -235,7 +235,8 @@ struct fetch * fetch_start(nsurl *url, nsurl *referer,
fetch_callback callback,
void *p, bool only_2xx, const char *post_urlenc,
const struct fetch_multipart_data *post_multipart,
- bool verifiable, const char *headers[])
+ bool verifiable, bool downgrade_tls,
+ const char *headers[])
{
struct fetch *fetch;
scheme_fetcher *fetcher = fetchers;
@@ -321,8 +322,9 @@ struct fetch * fetch_start(nsurl *url, nsurl *referer,
/* Got a scheme fetcher, try and set up the fetch */
fetch->fetcher_handle = fetch->ops->setup_fetch(fetch, url,
- only_2xx, post_urlenc,
- post_multipart, headers);
+ only_2xx, downgrade_tls,
+ post_urlenc, post_multipart,
+ headers);
if (fetch->fetcher_handle == NULL)
goto failed;