From 034eaa1cadf1299cae65c57925ec1f6da8f3668a Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Wed, 8 Nov 2006 20:46:32 +0000 Subject: [PATCH] rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen. --- dlls/rpcrt4/rpc_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index 20d318dbc27..66d28110561 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -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));