From c4fc13fe0bd29335224af2ffac6b69a6f45fc0a6 Mon Sep 17 00:00:00 2001 From: Tangent 128 Date: Fri, 29 Sep 2017 01:54:08 -0400 Subject: [PATCH] Fix final cluster not displaying right --- src/bin/loop_server.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/loop_server.rs b/src/bin/loop_server.rs index 01ad4f1..faa7f13 100644 --- a/src/bin/loop_server.rs +++ b/src/bin/loop_server.rs @@ -103,6 +103,9 @@ fn create_loop() -> WebmServer { } // finish last cluster + if let Some(chunk) = cluster_header.take() { + chunks.push(chunk); + } chunks.push(Chunk::ClusterBody {bytes: Arc::new(buffer.into_inner())}); WebmServer(header.unwrap(), chunks)