8234408: Improve TLS session handling

Reviewed-by: ascarpino, jjiang, ahgross, ssahoo, mullan
This commit is contained in:
Xue-Lei Andrew Fan 2019-11-25 09:50:30 -08:00
parent 3dd1fd2964
commit 72c7b49b0a
4 changed files with 4 additions and 18 deletions

View file

@ -360,7 +360,7 @@ public final class SSLSocketImpl
SSLLogger.severe("handshake failed", ioe);
}
return SSLSessionImpl.nullSession;
return new SSLSessionImpl();
}
return conContext.conSession;