]> git.localhorst.tv Git - blank.git/commitdiff
invalidate chunks after receiving
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 19 Sep 2015 11:19:37 +0000 (13:19 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 19 Sep 2015 11:19:37 +0000 (13:19 +0200)
src/client/net.cpp

index ed2dd20d3e332b13c1905da3d6d4e8ee3245734d..31f13d947631a2e2c615bc3a5a891f96bc145238 100644 (file)
@@ -123,6 +123,7 @@ void ChunkReceiver::Commit(ChunkTransmission &trans) {
        } else {
                memcpy(dst, src, min(src_len, dst_len));
        }
+       chunk->Invalidate();
        trans.Clear();
 }