Skip to main content

failed

Function failed 

Source
pub fn failed(
    response: &mut Response,
    error: ProxyError,
    next_hop: Option<&str>,
    details: Option<&str>,
)
Expand description

A hop that got no usable response: error=…. A 502 for a backend that didn’t answer in time becomes 504 Gateway Timeout, as nginx answers (since 18.27.0).