Skip to content

multi: timeout handles even without connection - #13276

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/timeout-wo-connections
Closed

multi: timeout handles even without connection#13276
bagder wants to merge 1 commit into
masterfrom
bagder/timeout-wo-connections

Conversation

@bagder

@bagder bagder commented Apr 4, 2024

Copy link
Copy Markdown
Member

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

bagder commented Apr 8, 2024

Copy link
Copy Markdown
Member Author

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