about summary refs log tree commit diff
path: root/contrib/Debian/source
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2017-01-19 00:06:46 +0100
committerAlexander Barton <alex@barton.de>2017-01-19 00:06:46 +0100
commit879d5504081e09600464f503db8282e47f79abaa (patch)
treeae58564182e16550d2159ebd4b8779a2f1945d5b /contrib/Debian/source
parent2bb917f05aafaf526736d0b7ade2f330835bbbe1 (diff)
downloadngircd-879d5504081e09600464f503db8282e47f79abaa.tar.gz
ngircd-879d5504081e09600464f503db8282e47f79abaa.zip
Fix handling of connection pool allocation and enlargement
The daemon only enlarged its connection pool when accepting new client
connections, not when establishing new outgoing server links.

Thanks to Lukas Braun (k00mi) for reporting this!

In addition this patch streamlines the connection pool allocation, so
that there is only one place in the code allocating the pool: the now
updated Socket2Index() function. The name doesn't quite fit, but this
existing and today quite useless function (because the mapping from
socket number to connection index is 1:1 today) already became called
in almost all relevant code paths, so I decided to reuse it to keep the
patch small ...probably we want to fix the naming in a second patch?

Closes #231.
Diffstat (limited to 'contrib/Debian/source')
0 files changed, 0 insertions, 0 deletions