smb2_server: allow smbd_smb2_request_pending_queue(0) to avoid STATUS_PENDING
commitd0f5c69b11a72fcaf120bae664448001a2f22814
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Feb 2019 07:08:38 +0000 (12 08:08 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 16 Apr 2019 08:51:20 +0000 (16 08:51 +0000)
tree72a72c0c97b3f7bf478e586a0bbae3a480cc5aca
parent690ba5dc8769dc4fa0106e311c62ee807e857b92
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>
(cherry picked from commit 4760b85243f335bb2094fc779802ce4b52db0ccb)
source3/smbd/smb2_server.c