Re: [CODE] Broken pipe

From: George (greerga@circlemud.org)
Date: 02/25/99


On Fri, 26 Feb 1999, Andrew Ritchie wrote:

>Basically what happens is that if a connected descriptor drops the
>connection at their end (ie types '^]' and 'close' in linux's telnet
>program) the server spits out a "Broken pipe" error and crashes.

You must be running under GDB, tell GDB not to stop the program on a
SIGPIPE with the 'handle' command.

If not, well, you have deeper problems.

--
George Greer
greerga@circlemud.org
http://mouse.van.m-l.org/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST