Another attempt at stopping SIGPIPEs killing our agents.

This commit is contained in:
alexhudson
2007-08-17 20:34:08 +00:00
parent cc9178ccd6
commit e13eeb8e3a
4 changed files with 1 additions and 15 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ typedef struct {
#define CONN_TCP_WRITE(c, b, l, r) \
{ \
do { \
(r) = IPsend((c)->socket, b, l, 0); \
(r) = IPsend((c)->socket, b, l, MSG_NOSIGNAL); \
if ((r) >= 0) { \
CONN_TRACE_DATA((c), CONN_TRACE_EVENT_WRITE, (b), (r)); \
break; \
-1
View File
@@ -387,7 +387,6 @@ void XplDelayNanosleep(int msec);
typedef void (*XplShutdownFunc)(int Signal);
void XplSignalCatcher(XplShutdownFunc ShutdownFunction);
void XplSignalBlock(void);
void XplSignalIgnorePipe(void);
#define XplSignalHandler(handler) XplSignalCatcher((handler));
#endif