3.3.4.1.3 Sending Compounded Responses

The server MAY<226> compound responses to the client.

To compound responses, the server MUST set the NextCommand in the first response to the offset, in bytes, from the beginning of the SMB2 header of the first response to the beginning of the 8-byte aligned SMB2 header in the subsequent response. This process MUST be done for each response except the final response in the chain, whose NextCommand SHOULD<227> be set to 0. The length of the last response in the compounded responses SHOULD be padded to a multiple of 8 bytes. The server MAY<228> grant credits separately on each response in the compounded chain. Then the entire response chain MUST be sent to the client as a single submission to the underlying transport.

The server SHOULD NOT<229> send the response message when the size is greater than Connection.MaxTransactSize+256.