Commit Graph
6 Commits
Author SHA1 Message Date
selimaj-devandclaude 97eab5f814 Fix lost responses and close handling; publish to Gitea as 0.2.0
Gradle Build / build (pull_request) Failing after 6s
- Register pending requests before sending so fast responses aren't lost
- Fail pending requests with SessionClosedException when the connection
  closes or errors, and add onClose(), isOpen() and a request overload
  with a timeout
- Serialize text sends: java.net.http.WebSocket allows only one
  outstanding send, so concurrent requests could throw
- Reassemble text messages delivered in parts before parsing
- Complete error responses with SessionErrorException carrying the payload
- Answer requests for unknown methods with an error response
- Fix SessionResult.error() producing success responses
- Fix close() using invalid close code 0; send 1000
- Publish as dev.selimaj:session-java to the Gitea package registry;
  make Jackson an api dependency and drop unused Tyrus/Jakarta deps
- Replace the empty test with 9 tests against an in-process server

Fixes #1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-25 14:28:04 +02:00
selimaj-dev 34d86a23ab Fixed build artifacts 2026-02-20 02:06:05 +01:00
selimaj-dev 2b64b10646 Fixed types 2026-02-20 01:26:10 +01:00
selimaj-dev f5423313e0 Readme install 2026-02-19 20:46:22 +01:00
selimaj-dev 9b7c09dcd2 Readme 2026-02-19 18:26:04 +01:00
selimaj-dev 4cb2ec06b7 Initial commit 2026-02-19 14:58:12 +01:00