Server dies during client callback with broken pipe

Sai-Lai Lo S.Lo@orl.co.uk
Tue, 24 Feb 1998 17:27:32 GMT


>>>>> Paul Nader writes:

> Hi,
> I have a client-server pair which reverse roles during callbacks. The client passes
> a reference to a callback object to the server who uses it to send data back.
> Everythink works fine but if I deliberatly kill the client in the middle of a
> server callback reply, the server dies as well with a Broken pipe message.

> Under the debugger the server dies in the during the send call in 
> tcpSocketStrand::ll_send()..

> Is this a known bug?

Strange. One don't expect to see "Broken pipe" because this normally comes
from the default handler of SIGPIPE. On all the supported unix platforms,
the signal has already been set to SIG_IGN so one do not expect to see the
message.

Is it possible that you are using a platform/compiler combination that is not
supported?

Sai-Lai