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

Daniel Lewart <[email protected]>
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <CALE_k2EZY-qo1j-kW2_u1zTc1ANP5sMui6kWyyNT4bf5Y2K4Tg@mail.gmail.com>
Simon, et al,

On Mon, Feb 24, 2014 at 3:33 PM, Simon Paillard <[email protected]> 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');
                            }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.