Skip to content

Fixes a race condition during idle connections timing out; Fixes older requests not being reset#1698

Merged
Badgerati merged 2 commits intodevelopfrom
Issue-1693
May 1, 2026
Merged

Fixes a race condition during idle connections timing out; Fixes older requests not being reset#1698
Badgerati merged 2 commits intodevelopfrom
Issue-1693

Conversation

@Badgerati
Copy link
Copy Markdown
Owner

Description of the Change

In the timeout callback handler, the CancellationToken and State were being set in the wrong order, meaning the token was cancelled and then the state set to "Timeout". This meant the request receiver could "finish processing" and attempt to pass empty requests through to Pode.

The lines have now been flipped, so State is observed appropriately. Additional old requests will now be reset, to clear out older data.

Related Issue

@Badgerati Badgerati added this to the 2.13.2 milestone May 1, 2026
@Badgerati Badgerati self-assigned this May 1, 2026
@Badgerati Badgerati merged commit ab66e91 into develop May 1, 2026
29 of 30 checks passed
@Badgerati Badgerati deleted the Issue-1693 branch May 1, 2026 17:32
@Badgerati Badgerati mentioned this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server Hanging Regression? The property 'StatusCode' cannot be found on this object. Verify that the property exists and can be set.

1 participant