Mailinglist Archive: opensuse-bugs (4669 mails)

< Previous Next >
[Bug 602434] Broken handling of metalink files for files without mirrors
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 1 Sep 2010 15:19:56 +0000
  • Message-id: <20100901151956.83405245523@xxxxxxxxxxxxxxxxxxxxxx>

https://bugzilla.novell.com/show_bug.cgi?id=602434

https://bugzilla.novell.com/show_bug.cgi?id=602434#c12


Peter Poeml <poeml@xxxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #12 from Peter Poeml <poeml@xxxxxxxxxxx> 2010-09-01 15:19:54 UTC ---
I see. This can indeed happen when there is only a region_only mirror from a
different region, and the resource is negotiated to be represented by a
metalink. (Not for a metalink requested explicitely by .meta4 or .metalink
extension.)

I can easily reproduce that. Thanks for the details, and for the workaround you
added.

Since r8011 (and later changed in r8086), this case is handled:

case META4:
case METALINK:
if (meta_negotiated) {
debugLog(r, cfg, "would have to send empty metalink... ->
deliver directly");
return DECLINED;
} else {
debugLog(r, cfg, "would have to send empty metalink... ->
404");
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
"[mod_mirrorbrain] Can't send metalink for %s (no
mirrors)", filename);
return HTTP_NOT_FOUND;
}


Other representations (e.g., triggered by appending .sha1 extension, or
torrents) don't depend on mirrors, so they can be generated regardless.

The fix will be in 2.13.0.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages