mirror of https://github.com/apache/cloudstack.git
Increased SSL handshake timeout to 30 seconds
This commit is contained in:
parent
01a325b2bf
commit
dc17e4ef39
|
|
@ -465,7 +465,7 @@ public class Link {
|
|||
ByteBuffer out_pkgBuf = ByteBuffer.allocate(sslSession.getPacketBufferSize() + 40);
|
||||
ByteBuffer out_appBuf = ByteBuffer.allocate(sslSession.getApplicationBufferSize() + 40);
|
||||
int count;
|
||||
ch.socket().setSoTimeout(10 * 1000);
|
||||
ch.socket().setSoTimeout(30 * 1000);
|
||||
InputStream inStream = ch.socket().getInputStream();
|
||||
// Use readCh to make sure the timeout on reading is working
|
||||
ReadableByteChannel readCh = Channels.newChannel(inStream);
|
||||
|
|
|
|||
Loading…
Reference in New Issue