Skip to content

SPTCH-3413: fix odd total timer reset in file_do()#6

Merged
sergio-nsk merged 1 commit intosnxd-8_2_1from
sergey/curl/SPTCH-3413/1
Jan 11, 2024
Merged

SPTCH-3413: fix odd total timer reset in file_do()#6
sergio-nsk merged 1 commit intosnxd-8_2_1from
sergey/curl/SPTCH-3413/1

Conversation

@sergio-nsk
Copy link
Copy Markdown

The total timer is properly reset in MSTATE_INIT.
MSTATE_CONNECT starts with resetting the timer that is a start point for further multi states.
If file://, MSTATE_DO calls file_do() that should not reset the total timer.
Otherwise, the total time is always less than the pre-transfer and the start transfer times.

The total timer is properly reset in MSTATE_INIT.
MSTATE_CONNECT starts with resetting the timer that is a start point for
further multi states.
If file://, MSTATE_DO calls file_do() that should not reset the total timer.
Otherwise, the total time is always less than the pre-transfer and the start
transfer times.
@sergio-nsk sergio-nsk added the bug Something isn't working label Jan 11, 2024
@sergio-nsk sergio-nsk requested a review from nmoinvaz January 11, 2024 00:26
@sergio-nsk sergio-nsk enabled auto-merge (rebase) January 11, 2024 00:27
@nmoinvaz
Copy link
Copy Markdown

Do you plan to do this upstream in curl repo?

@sergio-nsk
Copy link
Copy Markdown
Author

Later. The fix is required now.

@sergio-nsk sergio-nsk merged this pull request into snxd-8_2_1 Jan 11, 2024
@sergio-nsk sergio-nsk deleted the sergey/curl/SPTCH-3413/1 branch January 11, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants