Skip to content
quarry Artifact [769b49c445]
Login

Artifact [769b49c445]

Artifact 769b49c44563f2a2107523e0117a764204525d0883edc8a5c771e9eab3494a9c:


//go:build !linux && !darwin

package pickupclient

import "net"

// hasPeerCheck says this platform can tell which process is at the other
// end of a loopback connection; --fossil with a login needs it.
const hasPeerCheck = false

// peerOwnedBy is not implemented here, and hasPeerCheck is false, so a
// --fossil clone with a login (the one user of the proxy that holds a
// token) is refused on these systems, Windows and the BSDs included. It
// answers nil only for the anonymous clone, which holds no token.
func peerOwnedBy(pid int, src, dst *net.TCPAddr) error { return nil }