Bug#439724: libhttp-server-simple-perl: background() returns before the server is accepting requests

Niko Tyni ntyni at iki.fi
Sun Sep 16 10:54:36 UTC 2007


tags 439724 upstream patch
thanks

On Sun, Aug 26, 2007 at 11:50:36PM +0300, Niko Tyni wrote:

> The HTTP::Server::Simple::background() function returns before it is ready
> to answer requests, and when the test script runs quick enough, it gets
> an unnoticed 'connection refused' from Test::WWW::Mechanize::get(). The
> script is then left with an empty array of links to test.
> 
> This should be fixed in HTTP::Server::Simple; cloning accordingly.

I just sent a failing testcase upstream, along with two alternative patches 
for fixing the behaviour. They can be found in CPAN #28122, so I won't
duplicate them here. I'll wait a while for any upstream response before
fixing this in the Debian version.

Cheers,
-- 
Niko Tyni   ntyni at iki.fi





More information about the pkg-perl-maintainers mailing list