Home / Function/ sslPending0() — netty Function Reference

sslPending0() — netty Function Reference

Architecture documentation for the sslPending0() function in ReferenceCountedOpenSslEngine.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  61c45470_7402_711a_5791_e6879fb0ef26["sslPending0()"]
  df1ad81e_e5bf_85e6_4418_db301b4c3e66["ReferenceCountedOpenSslEngine"]
  61c45470_7402_711a_5791_e6879fb0ef26 -->|defined in| df1ad81e_e5bf_85e6_4418_db301b4c3e66
  3fa99782_4b36_dc0c_7609_5987520fd28e["sslPending()"]
  3fa99782_4b36_dc0c_7609_5987520fd28e -->|calls| 61c45470_7402_711a_5791_e6879fb0ef26
  9f77679b_188a_ea47_0bb0_025af752e7f4["SSLEngineResult()"]
  9f77679b_188a_ea47_0bb0_025af752e7f4 -->|calls| 61c45470_7402_711a_5791_e6879fb0ef26
  3fa99782_4b36_dc0c_7609_5987520fd28e["sslPending()"]
  61c45470_7402_711a_5791_e6879fb0ef26 -->|calls| 3fa99782_4b36_dc0c_7609_5987520fd28e
  style 61c45470_7402_711a_5791_e6879fb0ef26 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java lines 765–771

    private int sslPending0() {
        // OpenSSL has a limitation where if you call SSL_pending before the handshake is complete OpenSSL will throw a
        // "called a function you should not call" error. Using the TLS_method instead of SSLv23_method may solve this
        // issue but this API is only available in 1.1.0+ [1].
        // [1] https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_new.html
        return handshakeState != HandshakeState.FINISHED ? 0 : SSL.sslPending(ssl);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does sslPending0() do?
sslPending0() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java.
Where is sslPending0() defined?
sslPending0() is defined in handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java at line 765.
What does sslPending0() call?
sslPending0() calls 1 function(s): sslPending.
What calls sslPending0()?
sslPending0() is called by 2 function(s): SSLEngineResult, sslPending.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free