smb2_server: allow smbd_smb2_request_pending_queue(0) to avoid STATUS_PENDING
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Feb 2019 07:08:38 +0000 (08:08 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 28 Mar 2019 23:09:34 +0000 (23:09 +0000)
commit4760b85243f335bb2094fc779802ce4b52db0ccb
tree3a1f9237c8b03b690e27a667a46557b9a6972044
parent827dd0145b78dcd01189f0608938b6a5d6f6fe12
smb2_server: allow smbd_smb2_request_pending_queue(0) to avoid STATUS_PENDING

This has the same meaning as smb2_request_set_async_internal(),
but this will simplifies callers.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13698
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13796

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_server.c