tls,
#endif
readonly,
+ max_queued_clients,
nrequests_client_max);
}
}
virNetTLSContextPtr tls,
#endif
bool readonly,
+ size_t max_queued_clients,
size_t nrequests_client_max)
{
virNetServerServicePtr svc;
goto error;
for (i = 0; i < svc->nsocks; i++) {
+ if (virNetSocketListen(svc->socks[i], max_queued_clients) < 0)
+ goto error;
+
/* IO callback is initially disabled, until we're ready
* to deal with incoming clients */
if (virNetSocketAddIOCallback(svc->socks[i],
virNetTLSContextPtr tls,
# endif
bool readonly,
+ size_t max_queued_clients,
size_t nrequests_client_max);
virNetServerServicePtr virNetServerServiceNewPostExecRestart(virJSONValuePtr object);