Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 497:62d6e9180a11
add blocking
author | oshiro |
---|---|
date | Tue, 12 Feb 2019 16:55:23 +0900 |
parents | 1f3f2abc9c1b |
children | 8d95d64c33bf |
files | src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Mon Feb 11 19:24:39 2019 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Tue Feb 12 16:55:23 2019 +0900 @@ -773,7 +773,7 @@ } h0 = h; w0 = w; - c1.reset(); + c1 = multicastqueue.allocate(deflate_size); } else { deflater.deflate(c1,Deflater.SYNC_FLUSH); } @@ -803,6 +803,7 @@ hdr.putShort(6,(short) y); hdr.putShort(8,(short) w); hdr.putShort(10,(short) h); + hdr.flip(); if (checkDelay) { bufs = createCheckDelayHeader(bufs, hdr); } else {