Rob Shearman : rpcrt4:
Use MaxCalls from the protseq when determining the backlog length to
pass in to listen .
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 9 06:08:31 CST 2006
Module: wine
Branch: master
Commit: 034eaa1cadf1299cae65c57925ec1f6da8f3668a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=034eaa1cadf1299cae65c57925ec1f6da8f3668a
Author: Rob Shearman <rob at codeweavers.com>
Date: Wed Nov 8 20:46:32 2006 +0000
rpcrt4: Use MaxCalls from the protseq when determining the backlog length to pass in to listen.
---
dlls/rpcrt4/rpc_transport.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 20d318d..66d2811 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -799,7 +799,7 @@ static RPC_STATUS rpcrt4_protseq_ncacn_i
continue;
}
- ret = listen(sock, 10);
+ ret = listen(sock, protseq->MaxCalls);
if (ret < 0)
{
WARN("listen failed: %s\n", strerror(errno));
More information about the wine-cvs
mailing list