jagi.git
2 years agoThrow error on response-less responses.
Fredrik Tolf [Thu, 17 Feb 2022 19:18:35 +0000 (20:18 +0100)]
Throw error on response-less responses.

2 years agoAdded event-driven server.
Fredrik Tolf [Thu, 17 Feb 2022 12:51:50 +0000 (13:51 +0100)]
Added event-driven server.

2 years agoHandle cancelled selection keys... "properly"?
Fredrik Tolf [Wed, 16 Feb 2022 18:37:35 +0000 (19:37 +0100)]
Handle cancelled selection keys... "properly"?

This seems very needlessly complex for something which shouldn't even
have to be an issue, but I can't obviously see how else to handle it,
but also not really what the whole point of selectors "cancelled-sets"
is.

2 years agoFix potential invalid select timeouts.
Fredrik Tolf [Wed, 16 Feb 2022 18:25:21 +0000 (19:25 +0100)]
Fix potential invalid select timeouts.

2 years agoLog errors when closing watchers.
Fredrik Tolf [Wed, 16 Feb 2022 18:25:11 +0000 (19:25 +0100)]
Log errors when closing watchers.

2 years agoAdded Watcher.added().
Fredrik Tolf [Wed, 16 Feb 2022 18:24:47 +0000 (19:24 +0100)]
Added Watcher.added().

2 years agoActually implement event-driver timeouts.
Fredrik Tolf [Mon, 14 Feb 2022 16:47:57 +0000 (17:47 +0100)]
Actually implement event-driver timeouts.

2 years agoFixed heap removal bug.
Fredrik Tolf [Mon, 14 Feb 2022 16:47:45 +0000 (17:47 +0100)]
Fixed heap removal bug.

2 years agoUse -1 from Watcher.events() to signal closure, rather than 0.
Fredrik Tolf [Mon, 14 Feb 2022 16:34:47 +0000 (17:34 +0100)]
Use -1 from Watcher.events() to signal closure, rather than 0.

2 years agoAdded a basic event-loop driver.
Fredrik Tolf [Sun, 13 Feb 2022 17:00:18 +0000 (18:00 +0100)]
Added a basic event-loop driver.

2 years agoInitial commit.
Fredrik Tolf [Thu, 10 Feb 2022 16:48:46 +0000 (17:48 +0100)]
Initial commit.