s3:libsmb: remove pending requests as early as possible via a smbsock_any_connect_cle...
commit058d84747e75a5f97a02e31bac9c8d0d147174bc
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 01:01:30 +0000 (21 03:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:17 +0000 (12 17:08 +0200)
tree63218e7ee467a9e5853bfcd907fa2a1b7d9e733e
parent04f89d4255ed95631aa8f0ada4bcf5f888e126d4
s3:libsmb: remove pending requests as early as possible via a smbsock_any_connect_cleanup() hook

Once we got an error or a valid connection we should destroy all other
connection attempts as early as possible.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/libsmb/smbsock_connect.c