On 6/8/06, seth vidal <skvidal(a)linux.duke.edu> wrote:
On Thu, 2006-06-08 at 12:37 -0700, Ian Burrell wrote:
>
> There is a bug in yum in that it is not handling the 404 error and
> tries to parse the HTML error page. Yum should notice the not found
> error and go to the next mirror without spewing parse errors. Or
> maybe it should have special logic to detect HTML files and abort the
> parse early.
It does that fine, provided the 404 IS a 404 and not just a webpage
SAYING 404.
In the case of
download.fedora.redhat.com for quite some time the server
issued a 200 (OK) and returned a page that SAID 404 in the text.
It looks like it redirects with a 302 to
http://fedora.redhat.com/404.html. That is just plain wrong and
should be fixed.
Maybe yum should have some logic to detect HTML error pages and abort
them early.
- Ian