libfreerdp-core/server: unix socket listener must be nonblocking.
This commit is contained in:
parent
a462e8cb55
commit
a43378ff86
@ -137,6 +137,8 @@ static boolean freerdp_listener_open_local(freerdp_listener* instance, const cha
|
||||
return false;
|
||||
}
|
||||
|
||||
fcntl(sockfd, F_SETFL, O_NONBLOCK);
|
||||
|
||||
addr.sun_family = AF_UNIX;
|
||||
strncpy(addr.sun_path, path, sizeof(addr.sun_path));
|
||||
unlink(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user