diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-09 13:36:44 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-09 13:36:44 +0200 |
commit | bc471f1d9046bf75a2e27d593ce9b13e4094ffdc (patch) | |
tree | 7ac9b6f0f3e21bba00f86ccf354014c5babc5c15 /plugins | |
parent | 5e4fc93dd523f209f78cef8a231e24975910e5ca (diff) | |
download | rsyslog-bc471f1d9046bf75a2e27d593ce9b13e4094ffdc.tar.gz rsyslog-bc471f1d9046bf75a2e27d593ce9b13e4094ffdc.tar.bz2 rsyslog-bc471f1d9046bf75a2e27d593ce9b13e4094ffdc.zip |
bugfix: $InputTCPMaxSessions config directive was accepted, but not honored
This resulted in a fixed upper limit of 200 connections.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imtcp/imtcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 89f1dbcf..7b3eeda5 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -160,6 +160,7 @@ static rsRetVal addTCPListener(void __attribute__((unused)) *pVal, uchar *pNewVa if(pOurTcpsrv == NULL) { CHKiRet(tcpsrv.Construct(&pOurTcpsrv)); + CHKiRet(tcpsrv.SetSessMax(pOurTcpsrv, iTCPSessMax)); CHKiRet(tcpsrv.SetCBIsPermittedHost(pOurTcpsrv, isPermittedHost)); CHKiRet(tcpsrv.SetCBRcvData(pOurTcpsrv, doRcvData)); CHKiRet(tcpsrv.SetCBOpenLstnSocks(pOurTcpsrv, doOpenLstnSocks)); |