openclaw/extensions/tlon/src/urbit
hcl 411d5fda58
fix(tlon): add timeout to SSE client fetch calls (CWE-400) (#5926)
Add timeout protection to prevent indefinite hangs when Urbit server
becomes unresponsive or network partition occurs.

Changes:
- Add AbortSignal.timeout(30_000) to 7 one-shot fetch calls
- Add AbortController with 60s connection timeout to SSE stream fetch
  (clears timeout after headers received to avoid aborting active stream)

Affected methods: sendSubscription, connect, openStream, poke, scry, close

Fixes #5266

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 15:40:27 -08:00
..
auth.ts feat: add tlon channel plugin 2026-01-24 00:25:39 +00:00
http-api.ts chore: Lint extensions folder. 2026-01-31 22:42:45 +09:00
send.test.ts fix(tlon): Fix Zod v4 record() and @urbit/aura v3 API changes (#1631) 2026-01-24 21:09:18 +00:00
send.ts chore: Lint extensions folder. 2026-01-31 22:42:45 +09:00
sse-client.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
sse-client.ts fix(tlon): add timeout to SSE client fetch calls (CWE-400) (#5926) 2026-02-01 15:40:27 -08:00