s3/smbd: enable processing SMB2 requests async internally
authorRalph Boehme <slow@samba.org>
Wed, 11 Jan 2017 14:00:24 +0000 (15:00 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 18 Apr 2017 20:54:16 +0000 (22:54 +0200)
commit682f1b7d65be1bd5055d8184bb1c6f79d9545ceb
tree1962803655421e9a5d931286771ce8cf399a41a8
parentd1f8d3e18b565b1408b212480ef5f74c6a7393af
s3/smbd: enable processing SMB2 requests async internally

The idea is to allow the implementation of an SMB2 request to tell the
main SMB2 processing engine that it wants to handle a requests
asynchronously internally.

This has two use cases:

- it allows (internal) async processing of compound requests that would
  otherwise be rejected by the SMB2 processing engine

- it preserves sync semantics at the SMB layer, some clients might not
  expect arbitrary SMB2 requests going async

Not used for now, will be used in laters commit for async SMB2 FIND
requests.

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