Skip to content
Commit d4ef80ec authored by Björn Stenberg's avatar Björn Stenberg Committed by Anas Nashif
Browse files

net: tcp: Release connect() semaphore if connection is refused



Connecting to a non-open port causes connect() to hang forever.
This patch releases connect() to return error to the caller.

Signed-off-by: default avatarBjörn Stenberg <bjorn@haxx.se>
parent 076fd6a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment