mirror of
https://github.com/samba-team/samba.git
synced 2025-10-23 11:33:16 +03:00
r17084: implement SMB2 Cancel in the server,
that makes it possible for clients to cancel
async requests, like NOTIFY...
metze
(This used to be commit eaccd3c435
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a5bafffd66
commit
8075ce63fd
@@ -324,9 +324,26 @@ struct smbsrv_connection {
|
||||
/*
|
||||
* the server_context holds a linked list of pending requests,
|
||||
* this is used for finding the request structures on ntcancel requests
|
||||
* For SMB only
|
||||
*/
|
||||
struct smbsrv_request *requests;
|
||||
|
||||
/*
|
||||
* the server_context holds a linked list of pending requests,
|
||||
* and an idtree for finding the request structures on SMB2 Cancel
|
||||
* For SMB2 only
|
||||
*/
|
||||
struct {
|
||||
/* an id tree used to allocate ids */
|
||||
struct idr_context *idtree_req;
|
||||
|
||||
/* this is the limit of pending requests values for this connection */
|
||||
uint32_t idtree_limit;
|
||||
|
||||
/* list of open tree connects */
|
||||
struct smb2srv_request *list;
|
||||
} requests2;
|
||||
|
||||
struct smb_signing_context signing;
|
||||
|
||||
struct stream_connection *connection;
|
||||
|
Reference in New Issue
Block a user