- or download this
$SIG{PIPE} = sub { $log->warning("Caught SIGPIPE: $!"); $running = 1;
+ };
- or download this
$log->warning("In thread: Attempting to shutdown handle associ
+ated with fileno: $fno");
shutdown ($socket, 2) or $log->warning ("In thread: Shutdown e
+rror: $!");
...
close $socket or $log->warning ("In thread: close error: $!");
$log->warning("In thread: Enqueing in Qclean fileno: $fno");
$Qclean->enqueue( $fno );
- or download this
$ perl -e 'printf "<request>getmyip</request>%c",0' | ./nc myhost.com
+9999
- or download this
<data><ip>x.x.x.x</ip></data>
- or download this
August 29 09:12:44 xmlsockd-advanced[32652]: (1) : XML IP request from
+: x.x.x.x
August 29 09:12:44 xmlsockdx[32652]: In thread: Attempting to shutdown
+ handle associated with fileno: 5
August 29 09:12:44 xmlsockdx[32652]: In thread: Attempting to close ha
+ndle associated with fileno: 5
August 29 09:12:44 xmlsockdx[32652]: Caught SIGPIPE: Broken pipe
August 29 09:12:44 xmlsockdx[32652]: In thread: close error: Broken pi
+pe
- or download this
$log->warning("In thread: Attempting to shutdown handle associated wit
+h fileno: $fno");
shutdown ($socket, 2) or $log->warning ("In thread: shutdown error: $!
+");
$log->warning("In thread: Enqueing in Qclean fileno: $fno");
$Qclean->enqueue( $fno );
- or download this
while ( $Qclean->pending )
{
my $fileno = $Qclean->dequeue();
delete $sockets{ $fileno };
}
- or download this
$ perl -e 'printf "<policy-file-request/>%c",0' | ./nc myhost.com 9999
- or download this
<?xml version="1.0"?><cross-domain-policy><allow-access-from domain="*
+" to-ports="9999" /></cross-domain-policy>
- or download this
August 29 09:26:31 xmlsockd[7815]: (1) : XML IP request from: x.x.x.x
August 29 09:26:31 xmlsockd[7815]: In thread: Attempting to shutdown h
+andle associated with fileno: 5
August 29 09:26:31 xmlsockd[7815]: In thread: Enqueing in Qclean filen
+o: 5
August 29 09:26:31 xmlsockd[7815]: Caught SIGPIPE: Broken pipe