From f5674617443eec5534a1f1770b6e9658045f8eb9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 23 Jan 2015 11:15:40 +0000 Subject: [PATCH] Fix bug IR-363. Set the proxy as well as user/password when connecting to a target. --- lib/ZOOM/IRSpy/Test/Ping.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index a6d8d55..ec6c441 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -24,8 +24,10 @@ sub start { my $xc = $conn->record()->xpath_context(); my $user = $xc->find("e:serverInfo/e:authentication/e:user"); my $password = $xc->find("e:serverInfo/e:authentication/e:password"); + my $proxy = $xc->find("e:serverInfo/e:authentication/e:proxy"); $options{"*user"} = $user if $user; $options{"*password"} = $password if $password; + $options{"*proxy"} = $proxy if $proxy; $conn->irspy_connect(undef, \%options, ZOOM::Event::ZEND, \&connected, -- 1.7.10.4