Commit Graph
10 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 6b0992e208 v0.1.2
Gradle Build / build (push) Canceled after 47s
2026-02-20 01:42:30 +01:00
selimaj-dev 2b64b10646 Fixed types 2026-02-20 01:26:10 +01:00
selimaj-dev 5cb57127de Publishing with jitpack
Gradle Build / build (push) Canceled after 2m8s
2026-02-19 22:15:17 +01:00
selimaj-dev 8ac4bbb7c5 publishing 2026-02-19 20:41:25 +01:00
selimaj-dev b3cba0751e Publishing to github packages 2026-02-19 20:20:49 +01:00
selimaj-dev b1198e89d6 Testing Method structure 2026-02-19 16:24:57 +01:00
selimaj-dev 8e8a15cfb9 Added libraries 2026-02-19 15:18:45 +01:00
selimaj-dev 22fc9e7b5a Gradle init 2026-02-19 15:08:20 +01:00