DCPM: body bags

Neil Williams linux at codehelp.co.uk
Sat Nov 1 10:46:19 CST 2003


On Friday 31 Oct 2003 11:25 pm, Neil Williams wrote:
> Yet I can't catch this one:
>
> (in cleanup) Net::Z3950::Manager=HASH(0x82ab24c) can't forget
> Net::Z3950::Connection=HASH(0x8358b00) at
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/Z3950/Manager.pm
> line 310 during global destruction.

> Event: trapped error: [sauco.csic.es:9909] connection refused

I found the one answer I didn't want:

http://perl.z3950.org/docs/todo.html

Work still to be done in Net::Z3950.pm
 Things that need fixing include, but may not be limited to, the following. 
(They're listed in the order that they occurred to me, which is by no means 
order of importance or anything.) 
Creating a non-blocking COMSTACK to a non-existent server (e.g. ECONNREFUSED) 
is not properly diagnosed, yielding a SIGPIPE instead of a graceful error 
report. 

i.e. it's a BUG in the module.

There's more goodies too, including:
"Improve the reporting of Z39.50 errors. "

I hadn't noticed any error reporting! That's why I need __DIE__ !!

I'd still be interested in any ideas to catch this SIGPIPE on connrefused.

-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://mail.pm.org/archives/devoncornwall-pm/attachments/20031101/cf527a3e/attachment.bin


More information about the Devoncornwall-pm mailing list