index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/dload.c | 3 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 4fd744ef..67090845 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -302,6 +302,9 @@ static int curl_download_internal(struct dload_payload *payload, /* perform transfer */ handle->curlerr = curl_easy_perform(handle->curl); + /* immediately unhook the progress callback */ + curl_easy_setopt(handle->curl, CURLOPT_NOPROGRESS, 1L); + /* was it a success? */ if(handle->curlerr == CURLE_ABORTED_BY_CALLBACK) { goto cleanup; |