e0bd36a502
If there is no space in the output buffer to report an error adding to the kqueue, kevent(2) will abort and return the error in errno (I was correct that it does not tell you where it failed). So do not abort the loop if kevent(2) fails and do not log (expected) EBADF. |
||
---|---|---|
.. | ||
include | ||
src | ||
.indent.pro | ||
COPYING | ||
CREDITS | ||
ChangeLog | ||
INSTALL | ||
Makefile.am | ||
Makefile.in | ||
README | ||
TODO | ||
acinclude.m4 | ||
aclocal.m4 | ||
config.guess | ||
config.sub | ||
configure | ||
configure.ac | ||
depcomp | ||
install-sh | ||
ltmain.sh | ||
missing |
README
This is libircd from ircd-ratbox. A few notes about this library: 1. Most of this code isn't anywhere near threadsafe at this point. Don't hold your breath on this either. 2. The linebuf code is designed to deal with pretty much 512 bytes per line and that is it. Anything beyond that length unless in raw mode, gets discard. For some non-irc purposes, this can be a problem, but for ircd stuff its fine. 3. The helper code when transmitting data between helpers, the same 512 byte limit applies there as we recycle the linebuf code for this.