< prev index next >

src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java

Print this page
rev 52904 : 8234408: Improve TLS session handling
Reviewed-by: ascarpino, jjiang, ahgross, ssahoo, mullan, andrew

*** 332,342 **** } catch (IOException ioe) { if (SSLLogger.isOn && SSLLogger.isOn("handshake")) { SSLLogger.severe("handshake failed", ioe); } ! return SSLSessionImpl.nullSession; } return conContext.conSession; } --- 332,342 ---- } catch (IOException ioe) { if (SSLLogger.isOn && SSLLogger.isOn("handshake")) { SSLLogger.severe("handshake failed", ioe); } ! return new SSLSessionImpl(); } return conContext.conSession; }
< prev index next >