zephyr/tests/net/socket/tls
Noah Olson b2e29fe0d7 net: tcp: fix ECONNREFUSED not reported by zsock_connect
When a TCP connection is refused during zsock_connect, errno is set
to -ENOTCONN, but errno should be set to -ECONNREFUSED. This change
causes the ECONNREFUSED status to be propagated from tcp_in to
net_tcp_connect, which eventually causes errno to be set
to -ECONNREFUSED.

Signed-off-by: Noah Olson <noah@wavelynx.com>
2025-03-07 19:48:10 +01:00
..
src net: tcp: fix ECONNREFUSED not reported by zsock_connect 2025-03-07 19:48:10 +01:00
CMakeLists.txt
prj.conf
testcase.yaml