From: Daniel Karbach Date: Sat, 19 Sep 2015 11:19:37 +0000 (+0200) Subject: invalidate chunks after receiving X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;ds=inline;h=a1a52a8dcfe961c39b39b3abe01e49fd1430102d;hp=38a4cffc0b6aa58e49d24c06aad7bee14cb6515d;p=blank.git invalidate chunks after receiving --- diff --git a/src/client/net.cpp b/src/client/net.cpp index ed2dd20..31f13d9 100644 --- a/src/client/net.cpp +++ b/src/client/net.cpp @@ -123,6 +123,7 @@ void ChunkReceiver::Commit(ChunkTransmission &trans) { } else { memcpy(dst, src, min(src_len, dst_len)); } + chunk->Invalidate(); trans.Clear(); }