Repository navigation
Commit fa8d4b2
committed
Apply optional GET SSE workaround on top of v1.27.0
Adds `enable_get_stream: bool = True` parameter to streamable_http_client.
Setting False skips the GET SSE setup, avoiding the OAuthClientProvider
context.lock deadlock that blocks tools/call POST for ~16s on lazy MCP
connect.
Workaround for upstream issue:
modelcontextprotocol#1326
Backward compatible: default True preserves existing behavior.1 parent 6524782 commit fa8d4b2
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| |||
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
657 | | - | |
| 658 | + | |
| 659 | + | |
658 | 660 | | |
659 | 661 | | |
660 | 662 | | |
| |||
687 | 689 | | |
688 | 690 | | |
689 | 691 | | |
| 692 | + | |
690 | 693 | | |
691 | 694 | | |
692 | 695 | | |
| |||
717 | 720 | | |
718 | 721 | | |
719 | 722 | | |
| 723 | + | |
720 | 724 | | |
721 | 725 | | |
722 | 726 | | |
0 commit comments