FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Increased SSL handshake timeout to 30 seconds · kwanggithub/cloudstack@dc17e4e · GitHub

This repository was archived by the owner on Jan 15, 2020. It is now read-only.
/ cloudstack Public archive
forked from apache/cloudstack

Commit dc17e4e

Browse files
authored andcommitted
Increased SSL handshake timeout to 30 seconds
1 parent 01a325b commit dc17e4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎utils/src/com/cloud/utils/nio/Link.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public static void doHandshake(SocketChannel ch, SSLEngine sslEngine, boolean is
465465
ByteBuffer out_pkgBuf = ByteBuffer.allocate(sslSession.getPacketBufferSize() + 40);
466466
ByteBuffer out_appBuf = ByteBuffer.allocate(sslSession.getApplicationBufferSize() + 40);
467467
int count;
468-
ch.socket().setSoTimeout(10 * 1000);
468+
ch.socket().setSoTimeout(30 * 1000);
469469
InputStream inStream = ch.socket().getInputStream();
470470
// Use readCh to make sure the timeout on reading is working
471471
ReadableByteChannel readCh = Channels.newChannel(inStream);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL