Skip to content

Conversation

@viksachdev
Copy link
Collaborator

No description provided.

…on (#142)

Moved ListResourcesResult forward declaration before ResponseResult
variant to allow it as a variant type. Added PaginatedResultBase
for inheritance hierarchy.
…te (#142)

Allow HTTP codec to send requests when in WaitingForResponse state,
not just Idle. This enables proper HTTP/1.1 pipelining for batch
requests. State machine transitions only occur from Idle state.
Fixed 10 methods that were blocking on future.get() inside dispatcher
callbacks, causing deadlock since dispatcher thread processes read events.

Methods fixed to use worker threads:
- listResources, readResource, subscribeResource, unsubscribeResource
- listTools, callTool
- listPrompts, getPrompt
- setLogLevel, createMessage

Pattern: Post request to dispatcher (non-blocking), then wait for
response on a detached worker thread instead of inside the callback.
gophergogo added 4 commits December 30, 2025 11:30
Reorder visitor_helper template parameters from <Variant, I> to <I, Variant>
so recursive calls can specify just I+1 and let Variant be deduced from args.
…lization (#142)

The ResponseResult variant includes ListResourcesResult but the serialization
was missing a handler for it, causing compile errors when visiting the variant.
@gophergogo gophergogo merged commit 6a2b718 into main Dec 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants