aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 9511538..8a1de8f 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4758,6 +4758,8 @@ irc_real_shutdown (struct server *s)
s->transport->in_before_shutdown (s);
while (shutdown (s->socket, SHUT_WR) == -1)
+ // XXX: we get ENOTCONN with OpenSSL (not plain) when a localhost
+ // server is aborted, why? strace says read 0, write 31, shutdown -1.
if (!soft_assert (errno == EINTR))
break;