Improvements and fixes (#223)
Some checks failed
CI / Test (macos-latest, Swift 6.1.0) (push) Has been cancelled
CI / Test (ubuntu-latest, Swift 6.1.0) (push) Has been cancelled
CI / MCP Conformance Tests (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Linux Static SDK Build (6.1.2 - ubuntu-latest) (push) Has been cancelled
Some checks failed
CI / Test (macos-latest, Swift 6.1.0) (push) Has been cancelled
CI / Test (ubuntu-latest, Swift 6.1.0) (push) Has been cancelled
CI / MCP Conformance Tests (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / Linux Static SDK Build (6.1.2 - ubuntu-latest) (push) Has been cancelled
* feat: added http transport context to the task local execution * fix: added refresh_token to the grantTypes for DCR * chore: updated documentation
This commit is contained in:
parent
cb6a62f7c2
commit
a0ae212ebf
1 changed files with 345 additions and 14 deletions
|
|
@ -180,8 +180,7 @@ func createConformanceServer(state: ServerState, transport: StatefulHTTPServerTr
|
|||
// SEP-1699: Close the SSE stream mid-call to trigger client reconnection.
|
||||
// The client should reconnect via GET with Last-Event-ID and receive the
|
||||
// response on the new stream.
|
||||
if let requestID = Server.currentRequestID {
|
||||
|
||||
if let requestID = Server.currentHandlerContext?.id {
|
||||
await transport.closeSSEStream(forRequestID: requestID.description)
|
||||
}
|
||||
// Wait briefly for the client to reconnect before sending the response.
|
||||
|
|
|
|||
Loading…
Reference in a new issue