degesch: add a comment about ENOTCONN
This commit is contained in:
parent
5bbe9ceef8
commit
aa4e86c2a0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue