DCPM: body bags
Neil Williams
linux at codehelp.co.uk
Mon Nov 17 17:47:54 CST 2003
On Monday 17 Nov 2003 11:15 pm, Theo P. Zourzouvillys wrote:
> On Monday 17 November 2003 10:04 pm, Neil Williams wrote:
> > I quite often get a broken pipe error -
> > yet the server connection reporting the broken pipe is always fine when
> > tested separately.
>
> are you ignoring SIGPIPE?
Not expressly, but I think the module way down the chain is calling die() on a
broken pipe - I sometimes get broken pipe errors on their own. I suppress all
WARN messages and handle DIE but no others. (thanks to Steve 'cos I hadn't
done any of that until now.)
The script itself is on SourceForge, isbnsearch.
http://cvs.sourceforge.net/viewcvs.py/isbnsearch/isbnsearch/config/fallbackisbn.pl
and select text.
Browsing CVS on SourceForge is behind the actual CVS and I've added more code
recently, but v1.3 is the one with a functional DIE handler and tidy error
handling messages.
--
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/20031117/f46c9fac/attachment.bin
More information about the Devoncornwall-pm
mailing list