Re: handling borken pipes
- From: santosh <santosh.k83@xxxxxxxxx>
- Date: Fri, 25 Apr 2008 15:18:45 +0530
Joshua Swanson wrote:
So, I've got my server up and running nicely, but when the clients
computer crashes without finishing the connection, leaving me with a
broken pipe, it shuts down my server.
What's the best way to handle this? I'm tempted just to throw in an
ignore signal handle (signal(SIGPIPE, SIG_IGN) of the top of my head)
and pay no attention to broken pipes, but I don't know enough to be
sure this is always correct. For instance, I don't get why the signal
is fatal by default, as it seems relatively minor.
<news:comp.unix.programmer> will be a far better choice for posting this
question.
.
- References:
- handling borken pipes
- From: Joshua Swanson
- handling borken pipes
- Prev by Date: Re: Loop unrolling
- Next by Date: Re: handling borken pipes
- Previous by thread: handling borken pipes
- Next by thread: Re: handling borken pipes
- Index(es):
Relevant Pages
|