commit | d4ef80ec571c0ca47f9d532e4c063e68b16846e9 | [log] [tgz] |
---|---|---|
author | Björn Stenberg <bjorn@haxx.se> | Thu Jan 10 13:03:48 2019 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jan 10 12:32:17 2019 -0500 |
tree | 2c127f07c1e4a8460790788c8acadca14e66585d | |
parent | 076fd6a32a689254449656bfacc55393f9f9e87e [diff] |
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>