[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hourly per mirror report http://mirror.debian.org/report/bymirror/



Simon, et al,

On Mon, Feb 24, 2014 at 3:33 PM, Simon Paillard <spaillard@debian.org> wrote:

> So you mean:
> http://mirror.debian.org/report/bymirror/debian.cites.illinois.edu.txt

> The both lines below are printed by default when a mirror is blacklisted.
>    Doesn't seem to support Keep-Alive connections
>    Doesn't seem to support Range requests

> For reasons of blacklisted, it's usually due to consistency issues detected by the scanner.
> I've put Raphael in CC to confirm this.

> Sources at:
> https://github.com/rgeissert/http-redirector

Below is a patch for a bug in check.pl.

Thank you!
Dan

--- check.pl~   2013-11-27 00:00:00.000000000 -0600
+++ check.pl    2014-02-25 00:00:00.000000000 -0600
@@ -568,7 +568,7 @@
                        } else {
                            my %httpd_features = ('keep-alive' => 0,
'ranges' => 0);
                            if ($headers->{'connection'}) {
-                               $httpd_features{'keep-alive'} =
($headers->{'connection'} eq 'keep-alive');
+                               $httpd_features{'keep-alive'} =
($headers->{'connection'} =~ /^keep-alive$/i);
                            } else {
                                $httpd_features{'keep-alive'} =
($headers->{'HTTPVersion'} eq '1.1');
                            }


Reply to: