diff options
author | Přemysl Janouch <p@janouch.name> | 2018-08-03 22:49:51 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-10-21 05:40:24 +0200 |
commit | aa4e86c2a0f7090e697830124ff1629d53d1ac5d (patch) | |
tree | f99ff7ebbfbd237065fb9521f7dce535e6919861 | |
parent | 5bbe9ceef88cbc1632a245ac2e98aee944999d64 (diff) | |
download | xK-aa4e86c2a0f7090e697830124ff1629d53d1ac5d.tar.gz xK-aa4e86c2a0f7090e697830124ff1629d53d1ac5d.tar.xz xK-aa4e86c2a0f7090e697830124ff1629d53d1ac5d.zip |
degesch: add a comment about ENOTCONN
-rw-r--r-- | degesch.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |