]> git.sur5r.net Git - openldap/commit
ITS#2389 - added conn_max_pending/auth config keywords to cap the number
authorHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 03:35:46 +0000 (03:35 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 03:35:46 +0000 (03:35 +0000)
commit3a71bddbc4fefec1f6a6476d4f1b97afc23f58b5
treecd34ce11edf533b24244db5d0376c9fa23a03a58
parentecd42966401494e2e3a75d1ef4aca309b1ce8b98
ITS#2389 - added conn_max_pending/auth config keywords to cap the number
of outstanding requests on a connection. Set rate limits for request
execution:
   no connection can have more than maxthreads/2 ops executing at once.
   a connection that is write-blocked will not execute any new ops.
   queued ops must drain before any new ops can execute.
If the queue exceeds the max_pending limit, the connection is closed.
...also fixed a bug where a connection was not marked active if it never
received a Bind.
servers/slapd/config.c
servers/slapd/connection.c
servers/slapd/proto-slap.h
servers/slapd/slap.h