Am 18.04.21 um 18:01 schrieb Arne Schwabe: > context_2 and tls_multi have the same life cycle for TLS connections > but so this move does not affect behaviour of the variable. > > OpenVPN TLS multi code has a grown a lot more complex and code that > handles multi objects needs to know the state that the object is in. > Since not all code has access to the context_2 struct, the code that > does not have access is often not checking the state directly but > checks other parts of multi that have been affected from a state > change. > > This patch also renames it to multi_state as this variable represents t > he multi state machine status rather than just the state of the connect > authentication (more upcoming patches will move other states > into this variable). > > Patch V2: also rename context_auth to multi_state, explain a bit why this > change is done.
Patch V3: Add comments for c2->multi NULL check forwarding. Fix compile with ENABLE_ASYNC_PUSH. Arne _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel