Let ntvfs request transport close via ntvfs_request state
commit7d8f3cdbfc741aa680f23018a434ae9409b69ef0
authorSam Liddicott <sam@liddicott.com>
Fri, 5 Dec 2008 09:04:55 +0000 (5 09:04 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Dec 2008 11:52:13 +0000 (5 12:52 +0100)
treefe0bbd983a5fab006c58da93707b95b759ad2c3f
parent0e723d8f7d918d2d1a1e9e26d976f016d5d97c94
Let ntvfs request transport close via ntvfs_request state

[I can't swear that this covers all the smb2 cases, there are some reply
functions that I can't trace properly]

Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state
so that the ntvfs layer can signify that the client transport should
be closed, most useful for proxy servies, and most likely due to a
forwarding transport having been closed.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/ntvfs/ntvfs.h
source4/smb_server/smb2/smb2_server.h
source4/smb_server/smb_server.h