MCPcopy Create free account
hub / github.com/3rdparty/libprocess / get_persistent_socket

Method get_persistent_socket

src/process.cpp:1719–1728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1717
1718
1719Option<int_fd> SocketManager::get_persistent_socket(const UPID& to)
1720{
1721 synchronized (mutex) {
1722 if (persists.count(to.address) > 0) {
1723 return persists.at(to.address);
1724 }
1725 }
1726
1727 return None();
1728}
1729
1730
1731PID<HttpProxy> SocketManager::proxy(const Socket& socket)

Callers 1

get_persistent_socketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected