Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

sergio-nsk
Copy link

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 enabled auto-merge (rebase) January 11, 2024 00:27
@nmoinvaz
Copy link

Do you plan to do this upstream in curl repo?

@sergio-nsk
Copy link
Author

Later. The fix is required now.

@sergio-nsk sergio-nsk merged commit 7148935 into snxd-8_2_1 Jan 11, 2024
1 check passed
@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