pub(crate) async fn lan_peer_takes(
client: &Client,
req: &InjectionRequest,
url: &str,
auth_key: &str,
too_old: &mut bool,
candidate_seen: &mut bool,
) -> Result<bool, Value>Expand description
Whether the LAN peer found for this jekt can take it. A jekt with files
needs the peer to advertise them (else too_old; a probe that went
unanswered sets candidate_seen, so the sender is told to try again), and
must be within the LAN’s limits, or it is refused outright: no other
route is left for it.