diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-16 12:31:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:28 -0500 |
commit | cf5cb51bfc7f7c23f366fcb902946d6f4feb2d3b (patch) | |
tree | dfeafce16d0cc83747bf33b45f3393a08d015b19 /source4/smb_server/smb_server.h | |
parent | 145702b75604be85f71d9e0e5b8fe048da439958 (diff) | |
download | samba-cf5cb51bfc7f7c23f366fcb902946d6f4feb2d3b.tar.gz samba-cf5cb51bfc7f7c23f366fcb902946d6f4feb2d3b.tar.bz2 samba-cf5cb51bfc7f7c23f366fcb902946d6f4feb2d3b.zip |
r4232: added server support for multi-part SMBtrans requests, while
maintaining the async nature of the server. This is done with a
SMBtrans request queue for partially completed requests.
The smb signing issues with this get a little tricky, but it now seems
to work fine
(This used to be commit bc0209058b76a947ad27673aeb096d11a168996b)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r-- | source4/smb_server/smb_server.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index 121fff6ecd..5324fb8a67 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -281,4 +281,12 @@ struct smbsrv_connection { /* this holds list of replies that are waiting to be sent to the client */ struct smbsrv_request *pending_send; + + /* a list of partially received transaction requests */ + struct smbsrv_trans_partial { + struct smbsrv_trans_partial *next, *prev; + struct smbsrv_request *req; + struct smb_trans2 *trans; + uint8_t command; + } *trans_partial; }; |