-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
SEP-1699 (modelcontextprotocol/modelcontextprotocol#1699) mandates that a priming event must be sent to record the last event ID for future reconnection. Currently, client doesn't handle the empty data well, as it tries to decode it as JSON.
To Reproduce
Steps to reproduce the behavior:
- Checkout the conformance test suite (github.com/conformance: prepare the conformance test suite #764)
- Run
scripts/client-conformancesh, look for results for thesse-retryscenario.
Expected behavior
The Client should handle the empty data gracefully, per SSE specification.
Additional notes
We can also validate if our server sends the priming event, since we haven't detected this issue earlier. Test case verifying these behaviors should be introduced.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working