Re: [ovs-dev] [PATCH v3 1/2] socket-util: split inet_open_active function and use connect_ex

2021-11-03 Thread Ilya Maximets
On 10/27/21 22:57, Terry Wilson wrote: > On Mon, Oct 25, 2021 at 8:46 AM Timothy Redaelli wrote: >> >> In an upcoming patch, PyOpenSSL will be replaced with Python ssl module, >> but in order to do an async connection with Python ssl module the ssl >> socket must be created when the socket is

Re: [ovs-dev] [PATCH v3 1/2] socket-util: split inet_open_active function and use connect_ex

2021-10-27 Thread Terry Wilson
On Mon, Oct 25, 2021 at 8:46 AM Timothy Redaelli wrote: > > In an upcoming patch, PyOpenSSL will be replaced with Python ssl module, > but in order to do an async connection with Python ssl module the ssl > socket must be created when the socket is created, but before the > socket is connected. >

[ovs-dev] [PATCH v3 1/2] socket-util: split inet_open_active function and use connect_ex

2021-10-25 Thread Timothy Redaelli
In an upcoming patch, PyOpenSSL will be replaced with Python ssl module, but in order to do an async connection with Python ssl module the ssl socket must be created when the socket is created, but before the socket is connected. So, inet_open_active function is splitted in 3 parts: -