Skip to content

Conversation

@taobaorun
Copy link

@taobaorun taobaorun commented Dec 11, 2025

Motivation and Context

When keep-alive is enabled on the server side, if the client becomes unresponsive or the connection is dropped, pending ping requests will accumulate while waiting for responses, eventually leading to an out-of-memory condition.

How Has This Been Tested?

benchmark test

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@taobaorun taobaorun changed the title fix pendingresponse leak fix: fix pendingResponses leak Dec 11, 2025
@taobaorun taobaorun changed the title fix: fix pendingResponses leak fix: server pendingResponses leak Dec 11, 2025
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.

1 participant