MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / find_crlf

Function find_crlf

crates/openshell-supervisor-network/src/l7/rest.rs:1893–1898  ·  view source on GitHub ↗
(buf: &[u8], start: usize)

Source from the content-addressed store, hash-verified

1891}
1892
1893fn find_crlf(buf: &[u8], start: usize) -> Option<usize> {
1894 buf.get(start..)?
1895 .windows(2)
1896 .position(|w| w == b"\r\n")
1897 .map(|offset| start + offset)
1898}
1899
1900#[derive(Clone)]
1901struct RelayResponseOptions {

Callers 2

collect_chunked_bodyFunction · 0.70
relay_chunkedFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected