rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.
This commit is contained in:
parent
34577de406
commit
034eaa1cad
|
@ -799,7 +799,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(RpcServerProtseq *pr
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = listen(sock, 10);
|
ret = listen(sock, protseq->MaxCalls);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
WARN("listen failed: %s\n", strerror(errno));
|
WARN("listen failed: %s\n", strerror(errno));
|
||||||
|
|
Loading…
Reference in New Issue