We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21882fa commit ef892e3Copy full SHA for ef892e3
server/sse.go
@@ -344,10 +344,7 @@ func (s *SSEServer) handleMessage(w http.ResponseWriter, r *http.Request) {
344
s.writeJSONRPCError(w, nil, mcp.INVALID_PARAMS, "Missing sessionId")
345
return
346
}
347
-
348
- s.mu.RLock()
349
sessionI, ok := s.sessions.Load(sessionID)
350
- s.mu.RUnlock()
351
if !ok {
352
s.writeJSONRPCError(w, nil, mcp.INVALID_PARAMS, "Invalid session ID")
353
0 commit comments