Skip to main content

process_frame

Function process_frame 

Source
pub(crate) async fn process_frame(
    server: &Arc<ServerShared>,
    conn: &mut Smb2Conn,
    buf: &[u8],
) -> Option<Vec<u8>>
Expand description

Execute one frame (possibly compound) and build its response (None to stay silent). Chained requests ([MS-SMB2] §3.3.5.2) are dispatched in order and their replies concatenated with 8-byte alignment.