summaryrefslogtreecommitdiffstats
path: root/src/fuse
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-06 23:31:11 +0100
committerSimon Rettberg2017-11-06 23:31:11 +0100
commit7f28e91b261d4f8cc8afda546a4a04867158b92f (patch)
tree2d575a257f64d19312a8af056c2edf1b61c8c861 /src/fuse
parent[FUSE] Remember up to 16 alt servers, but work only with 5 (diff)
downloaddnbd3-7f28e91b261d4f8cc8afda546a4a04867158b92f.tar.gz
dnbd3-7f28e91b261d4f8cc8afda546a4a04867158b92f.tar.xz
dnbd3-7f28e91b261d4f8cc8afda546a4a04867158b92f.zip
[SHARED] Add sockaddr2dnbd3 func, add multiConnect func, EINTR handling
EINTR was apparently not handled properly on non-linux for the connect() syscall. sockaddr2dnbd3 is what resolveToDnbd3Host already did internally, now it's its own function. sock_multiConnect() is a wrapper around connect() and poll, making it easy to connect to multiple hosts in a cascaded manner, with a slight delay between connect calls.
Diffstat (limited to 'src/fuse')
0 files changed, 0 insertions, 0 deletions