about summary refs log tree commit diff
path: root/src/testsuite/stop-server1
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2008-11-12 01:23:33 +0100
committerAlexander Barton <alex@barton.de>2008-11-12 01:26:04 +0100
commit9f067a059d9f64c68a73a2f7fbf5308ee342fe2a (patch)
tree68fafcb2027b3f41ac85bdbabf2f7b305f9d1411 /src/testsuite/stop-server1
parent5a91d621009d6a0f3b8e5ff054aa6ae7e3195191 (diff)
downloadngircd-9f067a059d9f64c68a73a2f7fbf5308ee342fe2a.tar.gz
ngircd-9f067a059d9f64c68a73a2f7fbf5308ee342fe2a.zip
Connection counter: count outgoing connections as well.
This patch lets ngIRCd count outgoing connections as well as incoming
connections (up to now only outgoing connections have been counted). This
change is required because the Conn_Close() function doesn't know whether
it closes an outgoing connection or not and therefore would decrement the
counter below zero when an outgoing connection existed -- which would
trigger an assert() call ...

Please note that this patch changes the (so far undocumented but now fixed)
behaviour of the "MaxConnections" configuration option to account the sum
of the in- and outbound connections!
Diffstat (limited to 'src/testsuite/stop-server1')
0 files changed, 0 insertions, 0 deletions