Skip to main content

is_mirrored_teardown

Function is_mirrored_teardown 

Source
fn is_mirrored_teardown(err: &ProxyError) -> bool
Expand description

Whether a pipe error is an abnormal teardown the proxy already mirrored and reported as ProxyEvent::StreamReset.

Callers use this to avoid double-reporting one teardown — notably as a ParseError, which means a codec failure.