]> granicus.if.org Git - ejabberd/commit
ejabberdctl: support concurrent connections with bound conn names
authorMartin Langhoff <martin@laptop.org>
Sun, 24 Jan 2010 13:39:15 +0000 (14:39 +0100)
committerBadlop <badlop@process-one.net>
Fri, 12 Feb 2010 19:23:33 +0000 (20:23 +0100)
commit10c16b1cdf29799251f5ea19c1c004c60840b94d
tree537adc8edbe923050197ca8b60cd8bb3a0313b2b
parent8bd37462cbff0d23c16214aa4fc3e26e7b346ba1
ejabberdctl: support concurrent connections with bound conn names

If flock is available, ejabberdctl will use it to grab one
of a bound number of connection names. This allows concurrent
connections while using a bound number of atoms.

Using PID, timestamps or random strings for transient connection IDs
(which would avoid the need for flock) uses an unbound number of atoms.
This can effectively DoS servers, as these connection names are
not garbage collected.
src/Makefile.in
src/ejabberdctl.template