GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Auto-port 5.0: Expose `isSessionReused` as public API (#18555) · netty/netty@43a2276

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handler/src/main/java/io/netty/handler/ssl
    • ReferenceCountedOpenSslEngine.java
  • pom.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java‎

Copy file name to clipboardExpand all lines: handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,11 @@ final synchronized SecretKeySpec masterKey() {
483483
return new SecretKeySpec(SSL.getMasterKey(ssl), "AES");
484484
}
485485

486-
synchronized boolean isSessionReused() {
486+
/**
487+
* Returns whether the completed handshake reused a TLS session.
488+
* Returns false if this engine has been shut down.
489+
*/
490+
public synchronized boolean isSessionReused() {
487491
if (destroyed) {
488492
return false;
489493
}
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,12 @@
10321032
<new>method void io.netty.handler.codec.http3.Http3ClientConnectionHandler::initUnidirectionalStream(io.netty.channel.ChannelHandlerContext, io.netty.handler.codec.quic.QuicStreamChannel)</new>
10331033
<justification>Allow applications to customize initialization of unidirectional streams by subclassing.</justification>
10341034
</item>
1035+
<item>
1036+
<ignore>true</ignore>
1037+
<code>java.method.visibilityIncreased</code>
1038+
<new>method boolean io.netty.handler.ssl.ReferenceCountedOpenSslEngine::isSessionReused()</new>
1039+
<justification>Allow applications to inspect OpenSSL session reuse without accessing the native SSL pointer.</justification>
1040+
</item>
10351041
<item>
10361042
<ignore>true</ignore>
10371043
<code>java.class.externalClassExposedInAPI</code>

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.