Claudius Heine created THRIFT-3957:
--------------------------------------
Summary: TConnectedClient does not disconnect from clients when
their timeout is reached.
Key: THRIFT-3957
URL: https://issues.apache.org/jira/browse/THRIFT-3957
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 1.0
Reporter: Claudius Heine
When starting the TestServer with the appended patch:
{code}
bin/TestServer --protocol=json --transport=http --server-type=thread-pool
--port=9080
{code}
And connecting to it with this shell command:
{code}
wget --post-data='[' http://localhost:9080
{code}
The connection stays up for a long time. Making DOS attacks very easy, because
at some point the server runs out of available client connections.
The appended patch fixes the issue in TConnectedClient.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)