Home / Function/ handleConnectErrno() — netty Function Reference

handleConnectErrno() — netty Function Reference

Architecture documentation for the handleConnectErrno() function in Errors.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  86663d14_9cde_cf7b_b3e1_a55d58d14419["handleConnectErrno()"]
  93a42678_e9fc_3a0e_6c3b_8f2b742961ed["Errors"]
  86663d14_9cde_cf7b_b3e1_a55d58d14419 -->|defined in| 93a42678_e9fc_3a0e_6c3b_8f2b742961ed
  style 86663d14_9cde_cf7b_b3e1_a55d58d14419 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java lines 125–132

    public static boolean handleConnectErrno(String method, int err) throws IOException {
        if (err == ERRNO_EINPROGRESS_NEGATIVE || err == ERROR_EALREADY_NEGATIVE) {
            // connect not complete yet need to wait for EPOLLOUT event.
            // EALREADY has been observed when using tcp fast open on centos8.
            return false;
        }
        throw newConnectException0(method, err);
    }

Domain

Subdomains

Frequently Asked Questions

What does handleConnectErrno() do?
handleConnectErrno() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java.
Where is handleConnectErrno() defined?
handleConnectErrno() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java at line 125.

Analyze Your Own Codebase

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

Try Supermodel Free