From 52596ded79465001540e34f94f0098157e87147f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 30 Dec 2005 21:17:01 +0000 Subject: Made socket.cpp flush its write buffer more often (fixes odd lag on server to server connections) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2708 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/socket.cpp b/src/socket.cpp index fd6b68006..7147c263c 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -241,6 +241,9 @@ bool InspSocket::Poll() break; } + if (this->Buffer.length()) + this->FlushWriteBuffer(); + return true; } -- cgit v1.2.3