| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 01a325b commit dc17e4e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -465,7 +465,7 @@ public static void doHandshake(SocketChannel ch, SSLEngine sslEngine, boolean is | |||
| 465 | 465 | ByteBuffer out_pkgBuf = ByteBuffer.allocate(sslSession.getPacketBufferSize() + 40); | |
| 466 | 466 | ByteBuffer out_appBuf = ByteBuffer.allocate(sslSession.getApplicationBufferSize() + 40); | |
| 467 | 467 | int count; | |
| 468 | - ch.socket().setSoTimeout(10 * 1000); | ||
| 468 | + ch.socket().setSoTimeout(30 * 1000); | ||
| 469 | 469 | InputStream inStream = ch.socket().getInputStream(); | |
| 470 | 470 | // Use readCh to make sure the timeout on reading is working | |
| 471 | 471 | ReadableByteChannel readCh = Channels.newChannel(inStream); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments