diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-17 23:05:39 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-10-01 22:03:07 +0200 |
commit | 42bbc5ce108e273a9890d2007ff55dd73c8d646c (patch) | |
tree | 66001d57862efa77c6f407fdcbb8938bca2b7d3a /packages/OS400/make-include.sh | |
parent | c01b6f4d098347ddfa3ece4ac33d6cc0607b79dd (diff) |
tool_metalink.c: Filtered resource URLs by type
In Metalink v3, the type attribute of url element indicates the
type of the resource the URL points to. It can include URL to the
meta data, such as BitTorrent metainfo file. In Curl, we are not
interested in these meta data URLs. Instead, we are only
interested in the HTTP and FTP URLs. This change filters out
non-HTTP and FTP URLs. If we don't filter out them, it will be
downloaded by curl and hash check will fail if hash is provided
and next URL will be tried. This change will cut this useless
network transfer.
Diffstat (limited to 'packages/OS400/make-include.sh')
0 files changed, 0 insertions, 0 deletions