curl: multiple fixes
modified libpkg/fetch_libcurl.c
@@ -55,23 +55,14 @@ struct http_mirror {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -80,18 +71,9 @@ void dump(const char *text,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -99,7 +81,7 @@ void dump(const char *text,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -113,9 +95,8 @@ void dump(const char *text,
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -146,7 +127,7 @@ int my_trace(CURL *handle, curl_infotype type,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -158,7 +139,6 @@ curl_do_fetch(struct curl_userdata *data, CURL *cl, struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -185,7 +165,6 @@ curl_do_fetch(struct curl_userdata *data, CURL *cl, struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -210,7 +189,7 @@ curl_write_cb(char *data, size_t size, size_t nmemb, void *userdata)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -218,6 +197,7 @@ http_getmirrors(struct curl_repodata *cr)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -226,11 +206,15 @@ http_getmirrors(struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -248,6 +232,7 @@ http_getmirrors(struct curl_repodata *cr)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -261,6 +246,8 @@ curl_parseheader_cb(void *ptr __unused, size_t size, size_t nmemb, void *userdat
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -338,7 +325,7 @@ curl_open(struct pkg_repo *repo, struct fetch_item *fi __unused)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -371,8 +358,6 @@ curl_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -395,22 +380,24 @@ curl_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -423,14 +410,25 @@ retry:
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -443,20 +441,23 @@ retry:
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|