]> arthur.barton.de Git - ngircd-alex.git/commit
Don't wait for the network when read buffers possibly hold commands
authorAlexander Barton <alex@barton.de>
Sun, 3 May 2020 00:55:34 +0000 (02:55 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 3 May 2020 22:46:56 +0000 (00:46 +0200)
commit387a29a7fdbf00f5d792ba1450c608db8670308a
treeaec66f5361d7218d5012e22288a5a6a05045f74b
parent54fac576030d7aaf8bce4a982c880fe18680741e
Don't wait for the network when read buffers possibly hold commands

There is no point in waiting up to one second for the network receiving
new data when there is still a read buffer holding at least one command;
we shouldn't waste time but handle it immediately!
src/ngircd/conn.c