smb2_server: use MSG_DONTWAIT to get non-blocking send/recvmsg
commitbe5e4d164df6dbfca391f46ad99350e3b72c311b
authorStefan Metzmacher <metze@samba.org>
Wed, 30 Sep 2020 21:43:37 +0000 (30 23:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Jun 2023 07:20:31 +0000 (1 07:20 +0000)
tree8bfe0c48e01e74277d4ba931831d441e1cf3428e
parent6e848f9d22ff32788a9544d937119a987c50cb9b
smb2_server: use MSG_DONTWAIT to get non-blocking send/recvmsg

It means we can make the fd blocking, which will help
with io_uring support.

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