mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
This clears the internal read buffer in DisableReadLine(). This fixes "accidental bugs" where CHTTPSock does DisableReadLine() and then reads the post data via ReadData(). The problem is when we do DisableReadLine() in ReadLine() and then return from it. All the stuff is still in the read buffer which triggers a MaxBufferReached() call which causes us to drop the connection. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2148 726aef4b-f618-498e-8847-2d620e286838
60 KiB
60 KiB