*/
/* TODO: smbXcli_conn_cancel_read_req */
TALLOC_FREE(conn->pending);
- if (cli->conn.read_smb_req != NULL) {
- /*
- * If we abort a read request,
- * we might have already read a half pdu,
- * the only thing we can do now is to disconnect.
- */
- cli_state_disconnect(cli);
- }
conn->read_smb_req = NULL;
if (!NT_STATUS_IS_OK(cancel_status)) {