Files
znc/DCCSock.cpp
psychon 9439291e2d DCCSock: Make sure we don't cache too much data in memory
This now only reads new data from disk if there is less than 1 MiB left to be
sent, which is still a lot. Before this there was no limit and the other end of
the socket could try to make us run out of memory.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1463 726aef4b-f618-498e-8847-2d620e286838
2009-03-31 09:07:02 +00:00

6.0 KiB