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)