]> arthur.barton.de Git - ngircd.git/commit
Always initiate closing a connection on errors.
authorAlexander Barton <alex@barton.de>
Fri, 24 Nov 2023 17:16:36 +0000 (18:16 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 6 Jan 2024 15:21:01 +0000 (16:21 +0100)
commit843cbfc0f32042c26836753340ef6b681b66d8c2
tree9e7c0442cccbd4637e70e0c070605ce35d2fdbca
parent9540d0c0a4b00618e6e45744b11198760a2df2f1
Always initiate closing a connection on errors.

Always try to close a connection with errors immediately, but try hard
to avoid too much recursion.

Without this patch, an outgoing server connection could get stuck in an
"endless" state trying to write out data over and over again.

This tries to fix 04de1423eb26.
src/ngircd/conn.c