[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dcc throttle patch for 1.9.4



Hi All,

Attached is Richard Fuch's dcc-throttle patch, ported to 1.9.4.
The file trading crowd seem to love this, so I've integrated it into
my 1.9.x tree.

It's not in the new setup window yet, so you'll have to do:
/set dcc_*_cps
to see the settings.

Now... does it actually work?

Richard, if you're still subscribed:

- if (tim - dcc->lasttime > prefs.dccstalltimeout)
+ if (!dcc->throttled
+     && tim - dcc->lasttime > prefs.dccstalltimeout)
	EMIT_SIGNAL (XP_TE_DCCSTALL, dcc->serv->fro

does this mean throttled transfers can't stall?

-- 
Peter Zelezny.

xc194-globthrottle-0.4.diff.gz