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

Simon Paillard <[email protected]>
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
Hello Daniel,

On Mon, Feb 24, 2014 at 11:26:43PM -0600, Daniel Lewart wrote:
> On Mon, Feb 24, 2014 at 3:33 PM, Simon Paillard <[email protected]> wrote:
> > 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
[..]
> > Sources at:
> > https://github.com/rgeissert/http-redirector
> 
> Below is a patch for a bug in check.pl.

Thanks a lot Dan for catching this !
I'll check for similar bugs.

> --- check.pl~   2013-11-27 00:00:00.000000000 -0600
> +++ check.pl    2014-02-25 00:00:00.000000000 -0600
[..]
>       if ($headers->{'connection'}) {
> -         $httpd_features{'keep-alive'} = ($headers->{'connection'} eq 'keep-alive');
> +         $httpd_features{'keep-alive'} = ($headers->{'connection'} =~ /^keep-alive$/i);
>       } else {

-- 
Simon Paillard
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.