Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better error handling in TCP connect
In some cases TCP connect may fail withing OvpnSocketTcpConnect(), before we queued IO request. This means that we don't have a way to notify userspace about failure and client should rely on client-side TCP connection timeout, which could be quite long. Fix by enqueueing IO request before initiating TCP connect and if connect fails, userspace got notified immediately. Signed-off-by: Lev Stipakov <[email protected]>
- Loading branch information