Remove connection throttling from all TCP servers
This commit is contained in:
1 parent
3a9b147b92
commit
b958a53ab3
1 file changed
-3
@@ -314,7 +314,6 @@ bool Reflector::initialize(Async::Config &cfg)
|
||||
std::string listen_port("5300");
|
||||
cfg.getValue("GLOBAL", "LISTEN_PORT", listen_port);
|
||||
m_srv = new TcpServer<FramedTcpConnection>(listen_port);
|
||||
m_srv->setConnectionThrottling(100, 10.0, 1000);
|
||||
m_srv->clientConnected.connect(
|
||||
mem_fun(*this, &Reflector::clientConnected));
|
||||
m_srv->clientDisconnected.connect(
|
||||
@@ -374,7 +373,6 @@ bool Reflector::initialize(Async::Config &cfg)
|
||||
if (m_cfg->getValue("GLOBAL", "HTTP_SRV_PORT", http_srv_port))
|
||||
{
|
||||
m_http_server = new Async::TcpServer<Async::HttpServerConnection>(http_srv_port);
|
||||
m_http_server->setConnectionThrottling(100, 10.0, 1000);
|
||||
m_http_server->clientConnected.connect(
|
||||
sigc::mem_fun(*this, &Reflector::httpClientConnected));
|
||||
m_http_server->clientDisconnected.connect(
|
||||
@@ -2062,7 +2060,6 @@ void Reflector::initSatelliteServer(void)
|
||||
|
||||
m_satellite_secret = sat_secret;
|
||||
m_sat_srv = new TcpServer<FramedTcpConnection>(sat_port);
|
||||
m_sat_srv->setConnectionThrottling(100, 10.0, 1000);
|
||||
m_sat_srv->clientConnected.connect(
|
||||
sigc::mem_fun(*this, &Reflector::satelliteConnected));
|
||||
m_sat_srv->clientDisconnected.connect(
|
||||
|
||||
Reference in new issue
Block a user