From ff5688b09c21242c2a0bee70cdfd1ea50b06f4f0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 16 Jul 2009 21:52:57 +0000 Subject: Client code is even cooler, it supports flushing data in case of buffering in the filter chain, I'm going to go ahead and make that optional coming up. --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 24f9bfb..729526e 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -85,6 +85,7 @@ void Bu::Client::processOutput() { int nAmnt = (sWriteBuf.getSize()<2048)?(sWriteBuf.getSize()):(2048); int nReal = pTopStream->write( sWriteBuf.getStr(), nAmnt ); + pTopStream->flush(); sWriteBuf.trimFront( nReal ); //sWriteBuf.clear(); } -- cgit v1.2.3