diff options
author | Simon Rettberg | 2020-07-21 16:45:50 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-07-21 16:45:50 +0200 |
commit | c112a4a797c74fb19a06e105c7f832759863d3d5 (patch) | |
tree | 7f7d51774fe8c009638d70e643e04927a3335270 /src/fuse | |
parent | [FUSE] Properly signal worker threads to exit on shutdown (diff) | |
download | dnbd3-c112a4a797c74fb19a06e105c7f832759863d3d5.tar.gz dnbd3-c112a4a797c74fb19a06e105c7f832759863d3d5.tar.xz dnbd3-c112a4a797c74fb19a06e105c7f832759863d3d5.zip |
[SHARED] Fix: connect with timeout returns socket handle on EINPROGRESS
Only if we request non-blocking connect (connect_ms == -1) this function
should return a socket fd that is not actually connected. Otherwise,
consder this a failure, close the sock fd, and return -1.
Diffstat (limited to 'src/fuse')
0 files changed, 0 insertions, 0 deletions