Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: fix leaked net.Conn #4633

Merged
merged 1 commit into from Aug 2, 2021
Merged

Commits on Jul 30, 2021

  1. [server_conn_leak] server: fix leaked net.Conn

    This happens when NewServerTransport() returns nil, nil. The rawConn is
    closed when the transport is closed, which will never happen in this
    case (since the returned transport is nil).
    menghanl committed Jul 30, 2021
    Copy the full SHA
    a593830 View commit details
    Browse the repository at this point in the history