From ba981128ac0ba5b6b6f865d72a26509fb52a4a3e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 10 Nov 2008 10:01:26 +0100 Subject: 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. --- source3/include/smb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index 4d7d4b2f38..3c727bafbf 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. */ -- cgit