aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_curl.c')
-rw-r--r--src/input_curl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input_curl.c b/src/input_curl.c
index d3bc219c8..8372f9924 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -926,6 +926,12 @@ input_curl_open(struct input_stream *is, const char *url)
return false;
}
+ ret = input_curl_multi_info_read(is);
+ if (!ret) {
+ input_curl_free(is);
+ return false;
+ }
+
return true;
}