+2008-05-23 Andrew Ruthven
+ Add a timeout for the HTTP request to the backend.
+
2008-04-19 Andrew Ruthven
Add a molly-guard check
close IN;
} else {
my $url = "http://$host:$port/xml";
- $status = get($url);
+ eval {
+ local $SIG{ALRM} = sub { die "alarm\n" };
+ alarm(15);
+ $status = get($url);
+ alarm(0);
+ };
+
+ die "Sorry, failed to fetch $url: Connection to MythTV timed out.\n"
+ if $@;
die "Sorry, failed to fetch $url.\n"
unless defined $status;
+mythtv-status (0.7.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Andrew Ruthven <andrew@etc.gen.nz> Fri, 23 May 2008 09:31:39 +1200
+
mythtv-status (0.7.3-2) unstable; urgency=low
* The cron.daily file should honour the HOST setting in