]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
clean up error handling on connection failure.
authorAlan T. DeKok <aland@freeradius.org>
Sun, 7 May 2023 15:31:42 +0000 (17:31 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 7 May 2023 15:31:42 +0000 (17:31 +0200)
commit5573a1269a149b8b2a2a7114dd77a758b3b6fe2e
treeaba17f218ead5e415ef80b6b740893b2eb51af5c
parentccf44af9ce69159d1bf3496831f183df69845726
clean up error handling on connection failure.

try_connect() does nothing other than return an error, instead
of doing various cleanups

Error paths from callers of try_connect() now call tls_socket_close()
instead of manually doing various things to clean up the listener.

mutex locks have been somewhat minimized on error paths
src/main/tls_listen.c