Repository navigation
Commit 42978c0
committed
HttpServletStreamableServerTransportProvider: avoid completing async context twice
Close the session transport instead of the async context: close() is
idempotent and swallows failures to complete the context.
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>1 parent 0e1a78f commit 42978c0
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- mcp-core/src/main/java/io/modelcontextprotocol/server/transport
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
625 | 627 | | |
626 | 628 | | |
627 | 629 | | |
| |||
0 commit comments