Merge pull request #316 from modelcontextprotocol/streamablehttp-server-tests

Refactor StreamableHttp Server tests
This commit is contained in:
ihrpr 2025-04-15 09:07:05 +01:00 • committed by GitHub
commit dd254f9929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 819 additions and 1415 deletions

File diff suppressed because it is too large Load diff

View file

@ -438,6 +438,8 @@ export class StreamableHTTPServerTransport implements Transport {
// Clear any pending responses
this._requestResponseMap.clear();
this._standaloneSSE?.end();
this._standaloneSSE = undefined;
this.onclose?.();
}