GitHub user jeking3 opened a pull request:
https://github.com/apache/thrift/pull/473
THRIFT-3084 add optional concurrent client limit enforcement to lib/cpp
This allows users of TThreadedServer and TThreadPoolServer to declare the
maximum number of concurrent clients allowed in at any given time. When the
limit is reached, the serve() thread is blocked from accept()ing another
connection until one of the other connections closes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jeking3/thrift
feature/THRIFT-3084-after-THRIFT-3083-merge-to-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/473.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #473
----
commit 8ab5ec65835b182f5e726145536c03454cda37f6
Author: Jim King <[email protected]>
Date: 2015-04-30T11:10:08Z
THRIFT-3084 add optional concurrent client limit enforcement to lib/cpp
threaded servers
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---