private:
int sd;
struct iovec msgvec[SM_IOV_MAX];
-#if !defined(MSG_NOSIGNAL) && !defined(SO_NOSIGPIPE)
- sigset_t sigpipe_mask;
- bool sigpipe_pending;
- bool sigpipe_unblock;
-#endif
public:
int port;
int write_keepalive();
int write_keepalive2(char tag, const utime_t &t);
- void suppress_sigpipe();
- void restore_sigpipe();
-
-
void fault(bool reader=false);
void was_session_reset();