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

Function could_be_tls_prefix

crates/openshell-supervisor-network/src/proxy.rs:377–379  ·  view source on GitHub ↗
(peek: &[u8])

Source from the content-addressed store, hash-verified

375}
376
377fn could_be_tls_prefix(peek: &[u8]) -> bool {
378 matches!(peek, [0x16] | [0x16, 0x03])
379}
380
381fn could_be_supported_tunnel_protocol_prefix(peek: &[u8]) -> bool {
382 could_be_tls_prefix(peek)

Calls

no outgoing calls

Tested by

no test coverage detected