Commit 034eaa1c authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.

parent 34577de4
......@@ -799,7 +799,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(RpcServerProtseq *pr
continue;
}
ret = listen(sock, 10);
ret = listen(sock, protseq->MaxCalls);
if (ret < 0)
{
WARN("listen failed: %s\n", strerror(errno));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment