]> code.citadel.org Git - citadel.git/commit
Fixed a bug which was here even before we started the groupware project: in
authorArt Cancro <ajc@citadel.org>
Sun, 26 Jul 1998 23:48:14 +0000 (23:48 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 26 Jul 1998 23:48:14 +0000 (23:48 +0000)
commit06c0a2b84317c68ddf605ea0628adc640cc96cef
tree7b4252489d610a99900f5350ff7276b84dd5cc2f
parentc52a43bda14fd3a1d4fd86e8ebc2028b66dae173
Fixed a bug which was here even before we started the groupware project: in
the inprocess() section of netproc.c, the sizes of incoming messages were
being miscalculated.  This caused significantly inflated (and possibly
corrupted) messages to be transmitted to the local Citadel server.  Symptoms
included lots of "Error trying to read 255 bytes" messages in the netproc log,
and (when using the GDBM-based development code) unacceptably large message
base sizes.  Now the bug is fixed and correct message sizes are being
calculated - using a more efficient algorithm, even.  I can envision one more
optimization, though: buffer the incoming messages in memory instead of
holding them in a temp file.  Perhaps next time...
citadel/netproc.c