Hello Vivek,

At the moment the acceptBacklog_ is hard coded to 1024.THRIFT-1997 <https://issues.apache.org/jira/browse/THRIFT-1997> addresses this. If you apply the 1997 patch you can invoke setAcceptBacklog( myBLValue ); on the TServerSocket that you pass to TThreadedServer. You must set the new backlog before calling listen().

Hope this helps.

Best,
Randy

On 6/4/2013 11:57 AM, Vivek Goel wrote:
Hi
I am using c++ lib. Is there way to change backlog connection count in
threaded server ?



--
Randy Abernethy
Managing Partner, RX-M, LLC
[email protected]
Cell: +1-415-624-6447
San Francisco: +1-415-800-2922
Tokyo: +81-50-5532-8040
www.rx-m.com
@rxmllc

Reply via email to