2016-03-06 09:33:48 +01:00
|
|
|
# librb
|
|
|
|
|
|
|
|
This is based on libratbox, the common runtime support code in ircd-ratbox.
|
|
|
|
It has significant modifications and is no longer compatible with libratbox itself (nor can be used as a dropin replacement), so we renamed it.
|
|
|
|
|
|
|
|
# original libratbox notes
|
2008-04-01 18:52:26 +02:00
|
|
|
|
|
|
|
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
|
2008-12-03 00:49:39 +01:00
|
|
|
limit applies there as we recycle the linebuf code for this.
|