[PATCH] Let ntvfs request transport close via ntvfs_request state
Sam Liddicott
sam at liddicott.com
Fri Dec 5 09:04:55 GMT 2008
[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 at liddicott.com>
---
source4/ntvfs/ntvfs.h | 1 +
source4/smb_server/smb2/smb2_server.h | 10 ++++++++++
source4/smb_server/smb_server.h | 10 ++++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3f89ff4ae1b61e6ee69fabb5571297f841d834aa.diff
Type: text/x-patch
Size: 3697 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081205/3289bdfb/3f89ff4ae1b61e6ee69fabb5571297f841d834aa.bin
More information about the samba-technical
mailing list