Compartilhar via


3.3.4.1.3 Sending Compounded Responses

The server MAY<231> 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<232> 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<233> 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<234> send the response message when the size is greater than Connection.MaxTransactSize+256.