提交 32268971 编写于 作者: C coffeys

7179879: SSLSocket connect times out instead of throwing socket closed exception

Reviewed-by: xuelei, chegar
上级 fcd9d7ca
......@@ -1576,11 +1576,9 @@ final public class SSLSocketImpl extends BaseSSLSocketImpl {
Throwable cachedThrowable = null;
try {
switch (state) {
/*
* java.net code sometimes closes sockets "early", when
* we can't actually do I/O on them.
*/
case cs_START:
// unconnected socket or handshaking has not been initialized
closeSocket(selfInitiated);
break;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册