]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Multi-socket: local_list clean-up
authorGianmarco De Gregori <gianmarco@mandelbit.com>
Wed, 18 Jun 2025 14:00:09 +0000 (16:00 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 18 Jun 2025 14:07:08 +0000 (16:07 +0200)
commit9bb02bc34f5ecc85364fa7ab64e52b6c5c918055
tree8e4667fa78f0d90b361d3f9d5a4943b8d7f59480
parent2dfc4f82792b197dfa47d2bfe32c2af66b329611
Multi-socket: local_list clean-up

Optimize the current local_list implementation
by replacing the static array with a resizable
one, as the static allocation serves no real
purpose, particularly on the client side.

Github: OpenVPN/openvpn#682

Change-Id: I32effed9e273fbe8986d1f4e8da4a4d0ac216463
Signed-off-by: Gianmarco De Gregori <gianmarco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250618140016.2766-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31927.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c
src/openvpn/options.h