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:
Björn Stenberg <bjorn@haxx.se>
Loading
Please sign in to comment