Procházet zdrojové kódy

Fix for #1414

tags/v1.12.90
Brian P. Hinz před 2 roky
rodič
revize
7393e2c7c3
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      java/com/tigervnc/network/TcpSocket.java

+ 2
- 2
java/com/tigervnc/network/TcpSocket.java Zobrazit soubor

@@ -83,8 +83,8 @@ public class TcpSocket extends Socket {
Selector selector = Selector.open();
SelectionKey connect_key =
sock.socket().getChannel().register(selector, SelectionKey.OP_CONNECT);
// Try for the connection for 250ms
while (selector.select(250) > 0) {
// Try for the connection for 3000ms
while (selector.select(3000) > 0) {
while (!result) {

Set keys = selector.selectedKeys();

Načítá se…
Zrušit
Uložit