From 086bec24bf8e0d31eb13c646c3a3f9c7b5392d0a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 7 Mar 2007 11:41:01 +0000 Subject: [PATCH] Explicit reconnection attempt before each search. --- lib/ZOOM/IRSpy/Task/Search.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ZOOM/IRSpy/Task/Search.pm b/lib/ZOOM/IRSpy/Task/Search.pm index 01d34a8..b13903b 100644 --- a/lib/ZOOM/IRSpy/Task/Search.pm +++ b/lib/ZOOM/IRSpy/Task/Search.pm @@ -1,4 +1,4 @@ -# $Id: Search.pm,v 1.8 2007-02-26 14:27:50 mike Exp $ +# $Id: Search.pm,v 1.9 2007-03-07 11:41:01 mike Exp $ package ZOOM::IRSpy::Task::Search; @@ -39,6 +39,10 @@ sub run { $this->set_options(); my $conn = $this->conn(); + ### Note that adding this next line DOES NOT HELP at the moment -- + # perhaps because of a ZOOM-C bug? + $conn->connect($conn->option("host")); + my $query = $this->{query}; $this->irspy()->log("irspy_task", $conn->option("host"), " searching for '$query'"); -- 1.7.10.4