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

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



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 <spaillard@debian.org> 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


Reply to: