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

multi: timeout handles even without connection #13276

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Apr 4, 2024

When there is a "change" in a multi handle and pending handles are moved back to the main list to be retested if they can proceed further (for example a previous transfer completed or a connection has a confirmed multiplexed state), the timeout check in multi_runsingle() would not trigger because it required an established connection.

This could make a pending tranfer go back to pending state even though it had been "in progress" for a longer time than permitted. By removing the requirement for an associated connection, the timeout check will be done proper even for transfers that has not yet been assigned one.

Fixes #13227
Reported-by: Rahul Krishna M

@bagder

This comment was marked as outdated.

@bagder
Copy link
Member Author

bagder commented Apr 8, 2024

This fix is an improvement but does not fix all the timeout issues we have detected with pipewait. I will probably still merge this independently of that. I don't know when I will get opportunity to work and fix it further.

When there is a "change" in a multi handle and pending handles are moved
back to the main list to be retested if they can proceed further (for
example a previous transfer completed or a connection has a confirmed
multiplexed state), the timeout check in multi_runsingle() would not
trigger because it required an established connection.

This could make a pending tranfer go back to pending state even though
it had been "in progress" for a longer time than permitted. By removing
the requirement for an associated connection, the timeout check will be
done proper even for transfers that has not yet been assigned one.

Ref #13227
Reported-by: Rahul Krishna M
Closes #13276
@bagder bagder force-pushed the bagder/timeout-wo-connections branch from ba219df to dd47d69 Compare April 12, 2024 21:31
@bagder bagder closed this in a1ec035 Apr 15, 2024
@bagder bagder deleted the bagder/timeout-wo-connections branch April 15, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

queued up PIPEWAIT transfers do not timeout correctly
1 participant