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

Fix bug in reset timeout on progress #160

Merged

Conversation

Ozamatash
Copy link
Contributor

Noticed a bug where resetTimeoutOnProgress option was being ignored - timeouts were being reset on every progress notification regardless of the setting. All requests with progress notifications got their timeouts reset, even when resetTimeoutOnProgress: false

How Has This Been Tested?

Added a specific test case that verifies requests don't reset their timeout when resetTimeoutOnProgress: false is set. This test failed before the fix and now passes.

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Copy link
Contributor

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test passes, and logic is good. LGTM! 👍

@cliffhall cliffhall merged commit 1909bbc into modelcontextprotocol:main Apr 2, 2025
2 checks passed
@dhyegocalota
Copy link

Thanks for this awesome job, guys!

@cliffhall, I have a question: When do you expect to release this bug issue?

I'm willing to use it asap.

Thank you once again!

@cliffhall
Copy link
Contributor

@cliffhall, I have a question: When do you expect to release this bug issue?
I'm looking into it. Hope we can get a 0.8.1 out the door soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants