Re: [Openvpn-devel] OpenVPN3 thread safety

2023-11-20 Thread Savely Krasovsky
That's exactly what I did! Works perfectly, thanks for calming me down. Пн, 20.11.2023 в 10:37 Antonio Quartulli писал(а): > Hi, > > On 20/11/2023 10:11, Savely Krasovsky wrote: >> Thanks for the reply! >> >> After few days I have found a major bug: a close and free client before >> stop() succe

Re: [Openvpn-devel] OpenVPN3 thread safety

2023-11-20 Thread Antonio Quartulli
Hi, On 20/11/2023 10:11, Savely Krasovsky wrote: Thanks for the reply! After few days I have found a major bug: a close and free client before stop() successfully executes. After fixing this I didn't get any segfaults anymore. Program survives very extensive tests. But after your reply I am i

Re: [Openvpn-devel] OpenVPN3 thread safety

2023-11-20 Thread Savely Krasovsky
Thanks for the reply! After few days I have found a major bug: a close and free client before stop() successfully executes. After fixing this I didn't get any segfaults anymore. Program survives very extensive tests. But after your reply I am in question again... Sure, openvpn3 has single threa

Re: [Openvpn-devel] OpenVPN3 thread safety

2023-11-20 Thread Arne Schwabe
Am 12.11.2023 um 14:16 schrieb Savely Krasovsky: Hello! I am trying to use OpenVPN3 with Golang SWIG binding. It works pretty nice, but I have random segmentation faults without obvious reason. My current guess is that Golang calls OpenVPN3 from various threads and library is not ready for