smb2: use smb2_get_fds
commitcfa75e38a0715ce158d5d7f9f831cd1e4b780713
authorThomas Guillem <thomas@gllm.fr>
Tue, 2 Mar 2021 14:44:24 +0000 (2 15:44 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 12 Mar 2021 09:38:58 +0000 (12 10:38 +0100)
treecf69ea77e4b423dae08086475cc72a199cd83712
parentebcfc500f5a6f1bd4c719013fe55e997ef09ac72
smb2: use smb2_get_fds

This API allow to connect to all resolved addresses and ports in
parallel, waiting 100ms between each new connection.

This resolves very long timeout or error when the host has more then one
IPs but is listening on only one.
modules/access/smb2.c