From: Mike Taylor Date: Fri, 23 Jan 2015 11:15:40 +0000 (+0000) Subject: Fix bug IR-363. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f5674617443eec5534a1f1770b6e9658045f8eb9;p=irspy-moved-to-github.git Fix bug IR-363. Set the proxy as well as user/password when connecting to a target. --- 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,