Merge pull request #316 from modelcontextprotocol/streamablehttp-server-tests
Refactor StreamableHttp Server tests
This commit is contained in:
commit
dd254f9929
2 changed files with 819 additions and 1415 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -438,6 +438,8 @@ export class StreamableHTTPServerTransport implements Transport {
|
|||
|
||||
// Clear any pending responses
|
||||
this._requestResponseMap.clear();
|
||||
this._standaloneSSE?.end();
|
||||
this._standaloneSSE = undefined;
|
||||
|
||||
this.onclose?.();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue