Skip to main content

cancel

Function cancel 

Source
pub(crate) fn cancel(conn: &mut Smb2Conn, hdr: &Header2, buf: &[u8])
Expand description

Handle a CANCEL ([MS-SMB2] §3.3.5.16): find the pending op by AsyncId (async CANCEL) or MessageId (sync CANCEL) and signal it to complete with STATUS_CANCELLED. CANCEL itself carries no response.