You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 840f85c
Browse filesBrowse the repository at this point in the historyBrowse files
Mark Pollack
committed
Isolate the shared timeout timer; keep an event whose write fails
From the cold reviews of the post-merge hardening:
- The shared timer kept cancelled timeout tasks queued until they would
have fired, and delivered timeout errors on its only thread, so a
subscriber blocking in its error handler delayed every other
session's timeouts. Cancelled tasks are now removed, and
AcpSchedulers.withTimeout hands the TimeoutException to a separate
daemon thread. Tested.
- An SSE event whose socket write threw was dropped; it now goes back to
the front of the mailbox for the next subscriber. Tested.
- One connection whose keep-alive throws no longer stops keep-alives for
all the others.
- StreamableHttpAcpServlet is package-private again: its constructor
needs the transport's internal registry, so a public class name would
have promised an embedding API that does not exist yet.
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/SseOutboundStream.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpAcpAgentTransport.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/main/java/com/agentclientprotocol/sdk/agent/transport/StreamableHttpAcpServlet.java
Copy file name to clipboardExpand all lines: acp-streamable-http-jetty/src/test/java/com/agentclientprotocol/sdk/agent/transport/SseOutboundStreamTest.java
0 commit comments