if (size > 0 && totalRead != size)
setPartialContent (totalRead, size);
finishData ();
if (con.getChunking () && !emptyChunkSent) {
emptyChunkSent = true;
BlockSentListener bsl = new Finisher ();
ChunkEnder ce = new ChunkEnder ();
ce.sendChunkEnding (con.getChannel (), con.getSelector (),
getLogger (), tlh.getClient (), bsl);
} else {
finish (true);