소스 검색

Fix for #1414

tags/v1.12.90
Brian P. Hinz 2 년 전
부모
커밋
7393e2c7c3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      java/com/tigervnc/network/TcpSocket.java

+ 2
- 2
java/com/tigervnc/network/TcpSocket.java 파일 보기

@@ -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();

Loading…
취소
저장