Repository: cloudstack Updated Branches: refs/heads/master 01a325b2b -> a52030919
Increased SSL handshake timeout to 30 seconds Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dc17e4ef Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dc17e4ef Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dc17e4ef Branch: refs/heads/master Commit: dc17e4ef39e8422a4e86eb0d2976ae3b4e380867 Parents: 01a325b Author: Kishan Kavala <[email protected]> Authored: Wed Apr 16 23:55:26 2014 +0530 Committer: Kishan Kavala <[email protected]> Committed: Wed Jan 7 14:27:51 2015 +0530 ---------------------------------------------------------------------- utils/src/com/cloud/utils/nio/Link.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dc17e4ef/utils/src/com/cloud/utils/nio/Link.java ---------------------------------------------------------------------- diff --git a/utils/src/com/cloud/utils/nio/Link.java b/utils/src/com/cloud/utils/nio/Link.java index a15b8a4..0127ec7 100644 --- a/utils/src/com/cloud/utils/nio/Link.java +++ b/utils/src/com/cloud/utils/nio/Link.java @@ -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);
