Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(ssl): init peer_id when init tls_multi #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 19, 2023

  1. fix(ssl): init peer_id when init tls_multi

    When openvpn run in UDP server mode, if ssl connections reach the max clients, the next connection would be failed in `multi_create_instance` and the half connection will be close in `multi_close_instance`, which may lead array `m->instances[0]`  covered unexpectedly and make the first connection  interrupt, this patch fix this problem by init `peer_id` with `MAX_PEER_ID` in `tils_multi_init`.
    pushan01 authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    6522ff3 View commit details
    Browse the repository at this point in the history