Subject: | HTTP::Server::Simple hangs under certain circumstances |
Date: | Fri, 8 Jun 2007 11:28:16 +0200 |
To: | bug-HTTP-Server-Simple [...] rt.cpan.org |
From: | Alexander Klink <a.klink [...] cynops.de> |
Hi Jesse,
I'm trying to test our application using (Test::)HTTP::Server::Simple.
I've tried different things and sometimes the test script would hang
when run under prove, but not under perl, and in one situation it would
hang in both cases.
I've attached a few test files, here are my observations:
- Running hss.t hangs under prove, works fine under perl
(this uses system to call perl test_server.pl, which starts a
HTTP::Server::Simple with ->background())
- Running thss_hangs.t hangs under both perl and prove,
thss.t works fine. Note that the difference is only the order in
use base qw/ ... /!
I believe it might be related to the signal handlers in H::S::S?
It would be great if you could look into that, I've wasted some hours
coming up with a test script that works ...
Thanks in advance,
Best regards,
Alex
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.