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 /tcpsrv.h | |
parent | 5e4fc93dd523f209f78cef8a231e24975910e5ca (diff) | |
download | rsyslog-bc471f1d9046bf75a2e27d593ce9b13e4094ffdc.tar.gz rsyslog-bc471f1d9046bf75a2e27d593ce9b13e4094ffdc.tar.xz 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 'tcpsrv.h')
-rw-r--r-- | tcpsrv.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -79,8 +79,10 @@ BEGINinterface(tcpsrv) /* name must also be changed in ENDinterface macro! */ rsRetVal (*SetCBOnSessAccept)(tcpsrv_t*, rsRetVal (*) (tcpsrv_t*, tcps_sess_t*)); rsRetVal (*SetCBOnSessDestruct)(tcpsrv_t*, rsRetVal (*) (void*)); rsRetVal (*SetCBOnSessConstructFinalize)(tcpsrv_t*, rsRetVal (*) (void*)); + /* added v4 */ + rsRetVal (*SetSessMax)(tcpsrv_t *pThis, int iMaxSess); /* 2009-04-09 */ ENDinterface(tcpsrv) -#define tcpsrvCURR_IF_VERSION 3 /* increment whenever you change the interface structure! */ +#define tcpsrvCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ /* prototypes */ |