diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | lib/Smokeping.pm | 2 | ||||
-rw-r--r-- | lib/Smokeping/Graphs.pm | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2011/09/25 -- released version 2.5.0 +* in zoom/ajax mode, do not exit ... fastcgis should not quit + * Switch from using SpeedyCGI to FastCGI. * Added new OpenSSHJunOSPing probe to run ping from a juniper router via diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 293cdba..7e5bc2f 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1420,7 +1420,7 @@ sub get_detail ($$$$;$){ print "Content-Length: ".length($data)."\n\n"; print $data; unlink "${imgbase}_${end}_${start}.png"; - exit; + return undef; } elsif ($mode eq 'n'){ # navigator mode # $page .= qq|<div class="zoom" style="cursor: crosshair;">|; diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm index 0791796..314fa54 100644 --- a/lib/Smokeping/Graphs.pm +++ b/lib/Smokeping/Graphs.pm @@ -281,7 +281,7 @@ sub get_multi_detail ($$$$;$){ print "Content-Length: ".length($data)."\n\n"; print $data; unlink "${imgbase}_${end}_${start}.png"; - exit; + return undef; } elsif ($mode eq 'n'){ # navigator mode |