X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdb0sdx.pl;h=c90ecf976215f810ed64f30c520437509ee6dd3b;hb=290cd395e4bac4a92dfc3c40a2a3fd7de93110eb;hp=130951e1b1747d4143e8b7b2a083620a940538c8;hpb=430f06b0c53fd69b7190519de5fb78942ebcc94c;p=spider.git diff --git a/cmd/show/db0sdx.pl b/cmd/show/db0sdx.pl index 130951e1..c90ecf97 100644 --- a/cmd/show/db0sdx.pl +++ b/cmd/show/db0sdx.pl @@ -20,6 +20,8 @@ my $cmdprompt = '/query->.*$/'; my($info, $t); $t = new Net::Telnet; + +dbg("db0sdx: contacting $target:$port") if isdbg('db0sdx'); $info = $t->open(Host => $target, Port => $port, Timeout => 15); @@ -28,6 +30,8 @@ if (!$info) { push @out, $self->msg('e18', 'DB0SDX Database server'); } else { + dbg("db0sdx: connected to $target:$port") if isdbg('db0sdx'); + my $s = qq( @@ -43,7 +47,7 @@ if (!$info) { dbg("db0sdx out: $s") if isdbg('db0sdx'); - $t->print("POST /qslinfo/qslinfo.asmx HTTP/1.1"); + $t->print("POST /qslinfo/qslinfo.asmx HTTP/1.0"); $t->print("Host: dotnet.grossmann.com"); $t->print("Content-Type: text/xml; charset=utf-8"); $t->print("Content-Length: $lth");