mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Make control port download status next attempts consistent
Make download status next attempts reported over the control port consistent with the time used by tor. This issue only occurs if a download status has not been reset before it is queried over the control port. Fixes 23525, not in any released version of tor.
This commit is contained in:
parent
d6568bad5e
commit
61b5d05358
6
changes/bug23525
Normal file
6
changes/bug23525
Normal file
@ -0,0 +1,6 @@
|
||||
o Minor bugfixes (control port):
|
||||
- Make download status next attempts reported over the control port
|
||||
consistent with the time used by tor. This issue only occurs if a
|
||||
download status has not been reset before it is queried over the
|
||||
control port.
|
||||
Fixes 23525, not in any released version of tor.
|
@ -2158,7 +2158,7 @@ download_status_to_string(const download_status_t *dl)
|
||||
|
||||
if (dl) {
|
||||
/* Get some substrings of the eventual output ready */
|
||||
format_iso_time(tbuf, dl->next_attempt_at);
|
||||
format_iso_time(tbuf, download_status_get_next_attempt_at(dl));
|
||||
|
||||
switch (dl->schedule) {
|
||||
case DL_SCHED_GENERIC:
|
||||
|
Loading…
Reference in New Issue
Block a user