Skip to main content

serve_client

Function serve_client 

Source
pub async fn serve_client(
    server: Arc<ServerShared>,
    transport: Box<dyn Transport>,
)
Expand description

Serve one client connection until EOF or transport error: read NBSS frames, route SMB1 and SMB2/3 (including encrypted/compressed transforms) to their processors, and release the session’s locks and durable handles on close.