From 4bf0f0c256693e30017f9bea60cf55aa97f8994a Mon Sep 17 00:00:00 2001
From: Mike Buland <mike@xagasoft.com>
Date: Thu, 27 Jun 2024 13:33:29 -0700
Subject: The client flush function didn't do anything.

Now it makes sure the buffer has been flushed and sets the buffer to be
sent out.
---
 src/stable/client.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/stable')

diff --git a/src/stable/client.cpp b/src/stable/client.cpp
index a32e87f..f8cff1a 100644
--- a/src/stable/client.cpp
+++ b/src/stable/client.cpp
@@ -213,6 +213,8 @@ bool Bu::Client::isEos()
 
 void Bu::Client::flush()
 {
+    cbBuffer.client().flush();
+    outputReady();
 }
 
 bool Bu::Client::canRead()
-- 
cgit v1.2.3