Compartilhar via


3.3.5.2.6 Handling Incorrectly Formatted Requests

If the server receives a request that does not conform to the structures outlined in section 2, the server MUST fail the request, as specified in section 3.3.4.4, with the error code STATUS_INVALID_PARAMETER. The server MAY<261> also disconnect the connection.

The server MUST disconnect, as specified in section 3.3.7.1, without sending an error response if any of the following are true:

  • The Command code in the SMB2 header does not match one of the command codes in the SMB2 header as specified in section 2.2.1.

  • The server receives a request with a length less than the length of the SMB2 header as specified in section 2.2.1.