From 25fd2a948f2630b134895485d860a184b39b335f Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Fri, 16 Mar 2012 00:13:35 +0000 Subject: [PATCH] Fixes TimedOut exception during clientRedirect caused by missing callback git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4869 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/com/tigervnc/vncviewer/CConn.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index e74cad56..d4ef5e90 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -383,6 +383,7 @@ public class CConn extends CConnection sock = new TcpSocket(host, port); vlog.info("Redirected to "+host+":"+port); setStreams(sock.inStream(), sock.outStream()); + sock.inStream().setBlockCallback(this); initialiseProtocol(); } catch (java.lang.Exception e) { throw new Exception(e.toString()); -- 2.39.5