Home
last modified time | relevance | path

Searched refs:maxConnections (Results 1 – 5 of 5) sorted by relevance

/haiku/headers/private/netservices2/
H A DHttpSession.h45 void SetMaxConnectionsPerHost(size_t maxConnections);
46 void SetMaxHosts(size_t maxConnections);
/haiku/src/kits/network/libnetservices2/
H A DHttpSession.cpp132 void SetMaxConnectionsPerHost(size_t maxConnections);
133 void SetMaxHosts(size_t maxConnections);
256 BHttpSession::Impl::SetMaxConnectionsPerHost(size_t maxConnections) in SetMaxConnectionsPerHost() argument
258 if (maxConnections <= 0 || maxConnections >= INT32_MAX) { in SetMaxConnectionsPerHost()
262 fMaxConnectionsPerHost.store(maxConnections, std::memory_order_relaxed); in SetMaxConnectionsPerHost()
267 BHttpSession::Impl::SetMaxHosts(size_t maxConnections) in SetMaxHosts() argument
269 if (maxConnections <= 0) in SetMaxHosts()
271 fMaxHosts.store(maxConnections, std::memory_order_relaxed); in SetMaxHosts()
641 BHttpSession::SetMaxConnectionsPerHost(size_t maxConnections) in SetMaxConnectionsPerHost() argument
643 fImpl->SetMaxConnectionsPerHost(maxConnections); in SetMaxConnectionsPerHost()
[all …]
/haiku/docs/user/netservices/
H A DHttpSession.dox225 \fn void BHttpSession::SetMaxConnectionsPerHost(size_t maxConnections)
236 \param maxConnections The maximum number of connections per host. This value must between 1
239 \exception BRuntimeError In case the \a maxConnections is invalid.
246 \fn void BPrivate::Network::BHttpSession::SetMaxHosts(size_t maxConnections)
257 \param maxConnections The maximum number of hosts. The value must be at least 1.
259 \exception BRuntimeError In case the \a maxConnections is 0.
/haiku/src/apps/cortex/NodeManager/
H A DNodeRef.h257 int32 maxConnections,
263 int32 maxConnections,
H A DNodeRef.cpp413 int32 maxConnections, in getInputConnections() argument
424 for(; it != itEnd && count < maxConnections; ++it) { in getInputConnections()
439 int32 maxConnections, in getOutputConnections() argument
450 for(; it != itEnd && count < maxConnections; ++it) { in getOutputConnections()