Skip to content

Commit

Permalink
NCL-1641:Close the management listener post connection accept
Browse files Browse the repository at this point in the history
  • Loading branch information
nayakmadan committed Apr 22, 2022
1 parent 30a9cf1 commit d6132f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/openvpn/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -1849,6 +1849,9 @@ man_accept(struct management *man)
}

man_new_connection_post(man, "Client connected from");
openvpn_close_socket(man->connection.sd_top);
man->connection.sd_top = SOCKET_UNDEFINED;
man_update_io_state(man);
}
}

Expand Down

0 comments on commit d6132f0

Please sign in to comment.