DCC File transfer speed is calculated at infinity on fast links in cZ
Categories
(SeaMonkey :: Chat, defect)
Tracking
(seamonkey2.53+ fixed)
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
Details
(Whiteboard: SM2.53.22)
Attachments
(1 file)
|
1.68 KB,
patch
|
frg
:
review+
frg
:
approval-comm-release+
|
Details | Diff | Splinter Review |
If the connection speed is very fast then 100K can be transferred via DCC in less than 1ms so the current calculation for speed gives infinity as the answer. We should only try calculating after a certain amount of elapsed time (I picked 10ms) to avoid the impossible.
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: speed calculation is wrong
Testing completed (on m-c, etc.): 2.53.22pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none
Comment 2•6 months ago
|
||
Comment on attachment 9480935 [details] [diff] [review]
1962436-irc-fix-dcctransfer-speed-25322.patch
LGTM r/a+
NIT: For clarity I would pefer adding braces around the calculation:
if ((now - this._lastSpeedTime) > 10)
lmk if I should check it in with this change?
(In reply to Frank-Rainer Grahl (:frg) from comment #2)
Comment on attachment 9480935 [details] [diff] [review]
1962436-irc-fix-dcctransfer-speed-25322.patchLGTM r/a+
NIT: For clarity I would pefer adding braces around the calculation:
if ((now - this._lastSpeedTime) > 10)
lmk if I should check it in with this change?
Yeah, if it makes you happy :)
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/6cf7f8524288
DCC File transfer speed is calculated at infiinity on fast links in cZ. r=frg DONTBUILD
Comment 5•3 months ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/32e11056755c52ca0c989e25f571566bd82123eb
DCC File transfer speed is calculated at infiinity on fast links in cZ. r=frg a=frg
Description
•