diff options
author | Volker Lendecke <vl@samba.org> | 2008-11-10 10:01:26 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-16 13:00:28 +0100 |
commit | ba981128ac0ba5b6b6f865d72a26509fb52a4a3e (patch) | |
tree | 2a3ddf28bf25e0cd63af1fed77004d0feff77ad1 /source3/include | |
parent | 740c5ce08138bca3c44dc3cccdd75abdb83752d5 (diff) | |
download | samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.gz samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.xz samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.zip |
Add a new implementation of chain_reply
This the global variable "orig_inbuf" in the old chain_reply code. This global
variable was one of the reasons why we had the silly restriction to not allow
async requests within a request chain.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 4d7d4b2f385..3c727bafbf8 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -627,7 +627,16 @@ struct smb_request { size_t unread_bytes; bool encrypted; connection_struct *conn; + + /* + * Chained request handling + */ struct files_struct *chain_fsp; + + /* + * Here we collect the outbufs from the chain handlers + */ + uint8_t *chain_outbuf; }; /* Defines for the sent_oplock_break field above. */ |