summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-10-24 16:09:58 +0200
committerGravatar waker <wakeroid@gmail.com>2010-10-24 16:10:35 +0200
commitd4e16679ac6fa2a6a7903c77154a7d188d300688 (patch)
tree638bf9a662a2f3dac8131aa3099d21e6a084fee9 /plugins
parent9f3d04898762e18e421fbdd2ef4b67d5581c7803 (diff)
fixed crash when using curl 7.21.2
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vfs_curl/vfs_curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/vfs_curl/vfs_curl.c b/plugins/vfs_curl/vfs_curl.c
index e73741a2..e18fbb08 100644
--- a/plugins/vfs_curl/vfs_curl.c
+++ b/plugins/vfs_curl/vfs_curl.c
@@ -495,6 +495,7 @@ http_thread_func (void *ctx) {
curl_easy_setopt (curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_easy_setopt (curl, CURLOPT_HEADERFUNCTION, http_content_header_handler);
curl_easy_setopt (curl, CURLOPT_HEADERDATA, ctx);
+ curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1);
curl_easy_setopt (curl, CURLOPT_PROGRESSFUNCTION, http_curl_control);
curl_easy_setopt (curl, CURLOPT_NOPROGRESS, 0);
curl_easy_setopt (curl, CURLOPT_PROGRESSDATA, ctx);