Changeset 8444 for trunk/module-webif.c


Ignore:
Timestamp:
02/28/13 22:14:52 (9 years ago)
Author:
theparasol
Message:
  • Added srvidholdseconds to ratelimiter (experimental) a srvid will be kept in slot for additional srvidholdseconds if used with enabled ecmunique, the ecm in slot must be ratelimitseconds unique

E.G. CDS NL 0100:00006A


ratelimitecm = 4
ratelimitseconds = 10
srvidholdseconds = 5
ecmunique = 1

Assign 4 srvid slots
Ecm for srvid in slot is unique for 10 seconds
Slotted srvid will be released after 10+5 = 15 seconds of inactivity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-webif.c

    r8437 r8444  
    14251425        tpl_printf(vars, TPLADD, "RATELIMITECM", "%d", rdr->ratelimitecm);
    14261426        tpl_printf(vars, TPLADD, "RATELIMITSECONDS", "%d", rdr->ratelimitseconds);
     1427        tpl_printf(vars, TPLADD, "SRVIDHOLDSECONDS", "%d", rdr->srvidholdseconds);
    14271428        // ECMUNIQUE
    14281429        if(!apicall) {
Note: See TracChangeset for help on using the changeset viewer.